|
STK++ 0.9.13
|
Implement the Joint Bernoulli probability law. More...
#include <STK_MultiLaw_JointBernoulli.h>

Public Types | |
| typedef JointProbability< RowVector, Law::Bernoulli > | Base |
Public Types inherited from STK::MultiLaw::JointProbability< RowVector, Law::Bernoulli > | |
| typedef RowVector::Type | Type |
| typedef IMultiLaw< RowVector > | Base |
Public Member Functions | |
| JointBernoulli () | |
| default constructor | |
| JointBernoulli (int const &nbVar) | |
| constructor | |
| virtual | ~JointBernoulli () |
| destructor | |
| Real const & | prob (int const &j) const |
| void | setProb (int const &j, Real const &prob) |
Public Member Functions inherited from STK::MultiLaw::JointProbability< RowVector, Law::Bernoulli > | |
| JointProbability (String const &name) | |
| Constructor. | |
| JointProbability (String const &name, int nbVar) | |
| Constructor. | |
| virtual | ~JointProbability () |
| destructor | |
| Array1D< Law > const & | JointLaw () const |
| Law const & | law (int const &j) const |
| Law & | law (int const &j) |
| Law const & | atLaw (int const &j) const |
| Law & | atLaw (int const &j) |
| void | resize (int const &nbVar) |
| resize the joint probability | |
| virtual Real | pdf (RowVector const &x) const |
| compute the probability distribution function (density) of the multivariate law. | |
| virtual Real | lpdf (RowVector const &x) const |
| compute the log probability distribution function Give the value of the log-pdf at the point x. | |
| virtual void | rand (RowVector &x) const |
| simulate a realization of the joint law and store the result in x. | |
Public Member Functions inherited from STK::MultiLaw::IMultiLaw< RowVector > | |
| virtual | ~IMultiLaw () |
| destructor. | |
Public Member Functions inherited from STK::Law::ILawBase | |
| String const & | name () const |
Additional Inherited Members | |
Protected Member Functions inherited from STK::MultiLaw::IMultiLaw< RowVector > | |
| IMultiLaw (String const &name) | |
| Constructor. | |
Protected Member Functions inherited from STK::Law::ILawBase | |
| ILawBase (String const &name) | |
| Constructor. | |
| ~ILawBase () | |
| destructor. | |
Protected Attributes inherited from STK::MultiLaw::JointProbability< RowVector, Law::Bernoulli > | |
| Array1D< Law > | jointLaw_ |
| Array with the marginal laws. | |
Protected Attributes inherited from STK::Law::ILawBase | |
| String | name_ |
| Name of the Law. | |
Implement the Joint Bernoulli probability law.
Definition at line 50 of file STK_MultiLaw_JointBernoulli.h.
| typedef JointProbability<RowVector, Law::Bernoulli> STK::MultiLaw::JointBernoulli< RowVector >::Base |
Definition at line 53 of file STK_MultiLaw_JointBernoulli.h.
|
inline |
default constructor
Definition at line 55 of file STK_MultiLaw_JointBernoulli.h.
|
inline |
constructor
Definition at line 57 of file STK_MultiLaw_JointBernoulli.h.
|
inlinevirtual |
|
inline |
Definition at line 62 of file STK_MultiLaw_JointBernoulli.h.
References STK::MultiLaw::JointProbability< RowVector, Law::Bernoulli >::law().
Referenced by STK::MultiLaw::JointBernoulli< RowVector >::setProb().
|
inline |
Definition at line 65 of file STK_MultiLaw_JointBernoulli.h.
References STK::MultiLaw::JointProbability< RowVector, Law::Bernoulli >::law(), and STK::MultiLaw::JointBernoulli< RowVector >::prob().