STK++ 0.9.13
|
Interface base Class for the multivariate distributions. More...
#include <STK_MultiLaw_IMultiLaw.h>
Public Member Functions | |
virtual | ~IMultiLaw () |
destructor. | |
virtual Real | pdf (RowVector const &x) const =0 |
compute the probability distribution function (density) of the multivariate law. | |
virtual Real | lpdf (RowVector const &x) const =0 |
compute the log probability distribution function Give the value of the log-pdf at the point x. | |
virtual void | rand (RowVector &x) const =0 |
simulate a realization of the Multivariate Law and store the result in x. | |
![]() | |
String const & | name () const |
Protected Member Functions | |
IMultiLaw (String const &name) | |
Constructor. | |
![]() | |
ILawBase (String const &name) | |
Constructor. | |
~ILawBase () | |
destructor. | |
Additional Inherited Members | |
![]() | |
String | name_ |
Name of the Law. | |
Interface base Class for the multivariate distributions.
Given some sample x in some data space, a multivariate law can compute a probability density function (pdf), a log-pdf. Moreover it is possible to simulate some random realization of this law.
RowVector | is the type of container containing the sample x. |
Definition at line 60 of file STK_MultiLaw_IMultiLaw.h.
|
inlineprotected |
|
inlinevirtual |
|
pure virtual |
compute the log probability distribution function Give the value of the log-pdf at the point x.
x | the multivariate value to compute the lpdf. |
Implemented in STK::MultiLaw::JointProbability< RowVector, Law >, STK::MultiLaw::JointProbability< RowVector, Law::Bernoulli >, STK::MultiLaw::JointProbability< RowVector, Law::Cauchy >, STK::MultiLaw::JointProbability< RowVector, Law::Gamma >, STK::MultiLaw::JointProbability< RowVector, Law::Normal >, and STK::MultiLaw::Normal< RowVector >.
|
pure virtual |
compute the probability distribution function (density) of the multivariate law.
Give the value of the pdf at the point x.
x | the multivariate value to compute the pdf. |
Implemented in STK::MultiLaw::JointProbability< RowVector, Law >, STK::MultiLaw::JointProbability< RowVector, Law::Bernoulli >, STK::MultiLaw::JointProbability< RowVector, Law::Cauchy >, STK::MultiLaw::JointProbability< RowVector, Law::Gamma >, STK::MultiLaw::JointProbability< RowVector, Law::Normal >, and STK::MultiLaw::Normal< RowVector >.
|
pure virtual |
simulate a realization of the Multivariate Law and store the result in x.
[out] | x | the simulated value. |
Implemented in STK::MultiLaw::JointProbability< RowVector, Law >, STK::MultiLaw::JointProbability< RowVector, Law::Bernoulli >, STK::MultiLaw::JointProbability< RowVector, Law::Cauchy >, STK::MultiLaw::JointProbability< RowVector, Law::Gamma >, STK::MultiLaw::JointProbability< RowVector, Law::Normal >, and STK::MultiLaw::Normal< RowVector >.