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 10 of file SingleGaussianState1D.h.

Constructor & Destructor Documentation

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

Definition at line 20 of file SingleGaussianState1D.h.

20 {}

Member Function Documentation

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

standardDeviation

Definition at line 29 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 39 of file SingleGaussianState1D.h.

Referenced by mean().

double SingleGaussianState1D::theStandardDeviation
mutableprivate

Definition at line 41 of file SingleGaussianState1D.h.

Referenced by standardDeviation().

double SingleGaussianState1D::theVariance
private

Definition at line 40 of file SingleGaussianState1D.h.

Referenced by standardDeviation(), and variance().

double SingleGaussianState1D::theWeight
private

Definition at line 38 of file SingleGaussianState1D.h.

Referenced by weight().