#include <welford_var_estimator.hpp>
Definition at line 10 of file welford_var_estimator.hpp.
◆ welford_var_estimator()
stan::math::welford_var_estimator::welford_var_estimator |
( |
int |
n | ) |
|
|
inlineexplicit |
◆ add_sample()
void stan::math::welford_var_estimator::add_sample |
( |
const Eigen::VectorXd & |
q | ) |
|
|
inline |
◆ num_samples()
int stan::math::welford_var_estimator::num_samples |
( |
| ) |
|
|
inline |
◆ restart()
void stan::math::welford_var_estimator::restart |
( |
| ) |
|
|
inline |
◆ sample_mean()
void stan::math::welford_var_estimator::sample_mean |
( |
Eigen::VectorXd & |
mean | ) |
|
|
inline |
◆ sample_variance()
void stan::math::welford_var_estimator::sample_variance |
( |
Eigen::VectorXd & |
var | ) |
|
|
inline |
◆ m2_
Eigen::VectorXd stan::math::welford_var_estimator::m2_ |
|
protected |
◆ m_
Eigen::VectorXd stan::math::welford_var_estimator::m_ |
|
protected |
◆ num_samples_
double stan::math::welford_var_estimator::num_samples_ |
|
protected |
The documentation for this class was generated from the following file: