CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SingleGaussianState1D Class Reference

#include <SingleGaussianState1D.h>

Public Member Functions

double mean () const
 parameter vector More...
 
 SingleGaussianState1D ()
 
 SingleGaussianState1D (double aMean, double aVariance, double aWeight=1.)
 
double standardDeviation () const
 standardDeviation More...
 
double variance () const
 variance More...
 
double weight () const
 weight More...
 
 ~SingleGaussianState1D ()
 

Private Attributes

double theMean
 
double theStandardDeviation
 
double theVariance
 
double theWeight
 

Detailed Description

One-dimensional (single) Gaussian state. Used for the description of Gaussian mixtures in one dimension.

Definition at line 11 of file SingleGaussianState1D.h.

Constructor & Destructor Documentation

SingleGaussianState1D::SingleGaussianState1D ( )
inline
SingleGaussianState1D::SingleGaussianState1D ( double  aMean,
double  aVariance,
double  aWeight = 1. 
)
inline

Definition at line 20 of file SingleGaussianState1D.h.

SingleGaussianState1D::~SingleGaussianState1D ( )
inline

Definition at line 25 of file SingleGaussianState1D.h.

25 {}

Member Function Documentation

double SingleGaussianState1D::mean ( ) const
inline
double SingleGaussianState1D::standardDeviation ( ) const
inline

standardDeviation

Definition at line 34 of file SingleGaussianState1D.h.

References mathSSE::sqrt(), theStandardDeviation, and theVariance.

Referenced by GaussianSumUtilities1D::pdfComponents().

double SingleGaussianState1D::variance ( ) const
inline
double SingleGaussianState1D::weight ( ) const
inline

Member Data Documentation

double SingleGaussianState1D::theMean
private

Definition at line 43 of file SingleGaussianState1D.h.

Referenced by mean().

double SingleGaussianState1D::theStandardDeviation
mutableprivate

Definition at line 45 of file SingleGaussianState1D.h.

Referenced by standardDeviation().

double SingleGaussianState1D::theVariance
private

Definition at line 44 of file SingleGaussianState1D.h.

Referenced by standardDeviation(), and variance().

double SingleGaussianState1D::theWeight
private

Definition at line 42 of file SingleGaussianState1D.h.

Referenced by weight().