34 mutable bool _Sigma_changed;
36 mutable double _sqrt_pow;
37 mutable ColumnVector _diff;
38 mutable ColumnVector _tempColumn;
40 mutable ColumnVector _samples;
41 mutable ColumnVector _sampleValue;
42 mutable Matrix _Low_triangle;
69 const unsigned int num_samples,
70 const SampleMthd method=SampleMthd::DEFAULT,
71 void * args=NULL)
const;
virtual ~Gaussian()
Default Copy Constructor will do.
Class PDF: Virtual Base class representing Probability Density Functions.
virtual MatrixWrapper::SymmetricMatrix CovarianceGet() const
Get the Covariance Matrix E[(x - E[x])^2] of the Analytic pdf.
void ExpectedValueSet(const MatrixWrapper::ColumnVector &mu)
Set the Expected Value.
friend std::ostream & operator<<(std::ostream &os, const Gaussian &g)
output stream for Gaussian
Class representing Gaussian (or normal density)
Wrapper class for ColumnVectors (Boost implementation)
virtual Gaussian * Clone() const
Clone function.
virtual void DimensionSet(unsigned int dim)
Set the dimension of the argument.
virtual Probability ProbabilityGet(const MatrixWrapper::ColumnVector &input) const
Get the probability of a certain argument.
virtual MatrixWrapper::ColumnVector ExpectedValueGet() const
Get the expected value E[x] of the pdf.
Class representing a probability (a double between 0 and 1)
Gaussian(const MatrixWrapper::ColumnVector &Mu, const MatrixWrapper::SymmetricMatrix &Sigma)
Constructor.
void CovarianceSet(const MatrixWrapper::SymmetricMatrix &cov)
Set the Covariance Matrix.