MeanEstimate< T, U > Class Template Reference

#include <Estimate.h>

Public Member Functions

 MeanEstimate (T _val=0, U _var=0)
 Construct from a value (normalized by / and) the inverse of its variance.
 
 MeanEstimate (const MeanEstimate &d)
 Copy Constructor.
 
 MeanEstimate (const Estimate< T, U > &d)
 Construct from an Estimate.
 
const MeanEstimateoperator= (const MeanEstimate &d)
 Assignment operator.
 
const MeanEstimateoperator+= (const MeanEstimate &d)
 Addition operator.
 
const MeanEstimateoperator+= (const Estimate< T, U > &d)
 Addition operator.
 
bool operator== (T _norm_val) const
 Equality operator.
 
Estimate< T, U > get_Estimate () const
 

Public Attributes

norm_val
 The value, normalized by its variance.
 
inv_var
 The inverse of its variance.
 

Detailed Description

template<typename T, typename U>
class MeanEstimate< T, U >

$ {\bar{x} over \bar{\sigma}^2} = \sum_{i=1}^n {x_i \over \sigma_i^2} $

See http://mathworld.wolfram.com/MaximumLikelihood.html (Eqs. 16 and 19)


The documentation for this class was generated from the following file:

Generated using doxygen 1.8.14