Class MeanEstimate
-
template<typename T, typename U>
class MeanEstimate \( \frac{\bar{x}}{\bar{\sigma}^2} = \sum_{i=1}^n \frac{x_i}{\sigma_i^2} \)
See http://mathworld.wolfram.com/MaximumLikelihood.html (Eqs. 16 and 19)
Public Functions
-
inline MeanEstimate(T _val = 0, U _var = 0)
Construct from a value (normalized by / and) the inverse of its variance.
-
inline MeanEstimate(const MeanEstimate &d)
Copy Constructor.
-
inline const MeanEstimate &operator=(const MeanEstimate &d)
Assignment operator.
-
inline const MeanEstimate &operator+=(const MeanEstimate &d)
Addition operator.
-
inline const MeanEstimate &operator+=(const Estimate<T, U> &d)
Addition operator.
-
inline MeanEstimate(T _val = 0, U _var = 0)