Abstract Class representing all FULL Analytical Conditional gaussians. More...
#include <analyticconditionalgaussian.h>
Public Member Functions | |
AnalyticConditionalGaussian (int dim=0, int num_conditional_arguments=0) | |
Constructor. More... | |
virtual MatrixWrapper::Matrix | dfGet (unsigned int i) const |
returns derivative from function to n-th conditional variable More... | |
virtual | ~AnalyticConditionalGaussian () |
Destructor. More... | |
Public Member Functions inherited from BFL::ConditionalGaussian | |
virtual ConditionalGaussian * | Clone () const |
Clone function. More... | |
ConditionalGaussian (int dim=0, int num_conditional_arguments=0) | |
Constructor. More... | |
virtual Probability | ProbabilityGet (const MatrixWrapper::ColumnVector &input) const |
Get the probability of a certain argument. More... | |
virtual bool | SampleFrom (Sample< MatrixWrapper::ColumnVector > &sample, int method=DEFAULT, void *args=NULL) const |
virtual bool | SampleFrom (std::vector< Sample< MatrixWrapper::ColumnVector > > &samples, const int num_samples, int method=DEFAULT, void *args=NULL) const |
virtual | ~ConditionalGaussian () |
Destructor. More... | |
Public Member Functions inherited from BFL::ConditionalPdf< MatrixWrapper::ColumnVector, MatrixWrapper::ColumnVector > | |
const MatrixWrapper::ColumnVector & | ConditionalArgumentGet (unsigned int n_argument) const |
Get the n-th argument of the list. More... | |
virtual void | ConditionalArgumentSet (unsigned int n_argument, const MatrixWrapper::ColumnVector &argument) |
Set the n-th argument of the list. More... | |
const std::vector< MatrixWrapper::ColumnVector > & | ConditionalArgumentsGet () const |
Get the whole list of conditional arguments. More... | |
virtual void | ConditionalArgumentsSet (std::vector< MatrixWrapper::ColumnVector > ConditionalArguments) |
Set the whole list of conditional arguments. More... | |
ConditionalPdf (int dimension=0, unsigned int num_conditional_arguments=0) | |
Constructor. More... | |
unsigned int | NumConditionalArgumentsGet () const |
Get the Number of conditional arguments. More... | |
virtual void | NumConditionalArgumentsSet (unsigned int numconditionalarguments) |
Set the Number of conditional arguments. More... | |
virtual | ~ConditionalPdf () |
Destructor. More... | |
Public Member Functions inherited from BFL::BFL::Pdf< MatrixWrapper::ColumnVector > | |
virtual MatrixWrapper::SymmetricMatrix | CovarianceGet () const |
Get the Covariance Matrix E[(x - E[x])^2] of the Analytic pdf. More... | |
unsigned int | DimensionGet () const |
Get the dimension of the argument. More... | |
virtual void | DimensionSet (unsigned int dim) |
Set the dimension of the argument. More... | |
virtual MatrixWrapper::ColumnVector | ExpectedValueGet () const |
Get the expected value E[x] of the pdf. More... | |
Pdf (unsigned int dimension=0) | |
Constructor. More... | |
virtual bool | SampleFrom (vector< Sample< MatrixWrapper::ColumnVector > > &list_samples, const unsigned int num_samples, int method=DEFAULT, void *args=NULL) const |
Draw multiple samples from the Pdf (overloaded) More... | |
virtual bool | SampleFrom (Sample< MatrixWrapper::ColumnVector > &one_sample, int method=DEFAULT, void *args=NULL) const |
Draw 1 sample from the Pdf: More... | |
virtual | ~Pdf () |
Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from BFL::ConditionalGaussian | |
ColumnVector | _diff |
Matrix | _Low_triangle |
ColumnVector | _Mu |
ColumnVector | _samples |
ColumnVector | _SampleValue |
Abstract Class representing all FULL Analytical Conditional gaussians.
So this class represents all Pdf's of the type
where
and
and
Definition at line 36 of file analyticconditionalgaussian.h.
BFL::AnalyticConditionalGaussian::AnalyticConditionalGaussian | ( | int | dim = 0 , |
int | num_conditional_arguments = 0 |
||
) |
Constructor.
dim | Dimension of state |
num_conditional_arguments | The number of conditional arguments. |
Definition at line 27 of file analyticconditionalgaussian.cpp.
|
virtual |
Destructor.
Definition at line 33 of file analyticconditionalgaussian.cpp.
|
virtual |
returns derivative from function to n-th conditional variable
i | Number of the conditional variable to use for partial derivation |
Reimplemented in BFL::NonLinearAnalyticConditionalGaussian_Ginac, BFL::LinearAnalyticConditionalGaussian, BFL::FilterProposalDensity, BFL::NonLinearAnalyticConditionalGaussianMobile, and BFL::NonLinearAnalyticConditionalGaussianMobile.
Definition at line 36 of file analyticconditionalgaussian.cpp.