30 MatrixWrapper::ColumnVector
_Mu;
31 MatrixWrapper::SymmetricMatrix
_Sigma;
50 Gaussian (
const MatrixWrapper::ColumnVector& Mu,
const MatrixWrapper::SymmetricMatrix& Sigma);
69 const int num_samples,
71 void * args=NULL)
const;
88 void CovarianceSet (
const MatrixWrapper::SymmetricMatrix& cov);
void ExpectedValueSet(const MatrixWrapper::ColumnVector &mu)
Set the Expected Value.
Class PDF: Virtual Base class representing Probability Density Functions.
virtual Probability ProbabilityGet(const MatrixWrapper::ColumnVector &input) const
Get the probability of a certain argument.
friend std::ostream & operator<<(std::ostream &os, const Gaussian &g)
output stream for Gaussian
MatrixWrapper::ColumnVector _Mu
Class representing Gaussian (or normal density)
MatrixWrapper::SymmetricMatrix _Sigma
MatrixWrapper::SymmetricMatrix _Sigma_inverse
virtual MatrixWrapper::SymmetricMatrix CovarianceGet() const
Get the Covariance Matrix E[(x - E[x])^2] of the Analytic pdf.
bool SampleFrom(vector< Sample< MatrixWrapper::ColumnVector > > &list_samples, const int num_samples, int method=DEFAULT, void *args=NULL) const
virtual ~Gaussian()
Default Copy Constructor will do.
Gaussian(const MatrixWrapper::ColumnVector &Mu, const MatrixWrapper::SymmetricMatrix &Sigma)
Constructor.
virtual Gaussian * Clone() const
Clone function.
void CovarianceSet(const MatrixWrapper::SymmetricMatrix &cov)
Set the Covariance Matrix.
ColumnVector _sampleValue
Class representing a probability (a double between 0 and 1)
virtual MatrixWrapper::ColumnVector ExpectedValueGet() const
Get the expected value E[x] of the pdf.