STK++ 0.9.13
|
Implement the Joint Normal probability law. More...
#include <STK_MultiLaw_JointNormal.h>
Public Types | |
typedef JointProbability< RowVector, Law::Normal > | Base |
![]() | |
typedef RowVector::Type | Type |
typedef IMultiLaw< RowVector > | Base |
Public Member Functions | |
JointNormal () | |
default constructor | |
JointNormal (int const &nbVar) | |
constructor | |
virtual | ~JointNormal () |
destructor | |
Real const & | mu (int j) const |
void | setMu (int j, Real const &mu) |
set the mean of the jth law | |
Real const & | sigma (int j) const |
void | setSigma (int j, Real const &sigma) |
set the standard deviation of the jth law | |
![]() | |
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. | |
![]() | |
virtual | ~IMultiLaw () |
destructor. | |
![]() | |
String const & | name () const |
Additional Inherited Members | |
![]() | |
IMultiLaw (String const &name) | |
Constructor. | |
![]() | |
ILawBase (String const &name) | |
Constructor. | |
~ILawBase () | |
destructor. | |
![]() | |
Array1D< Law > | jointLaw_ |
Array with the marginal laws. | |
![]() | |
String | name_ |
Name of the Law. | |
Implement the Joint Normal probability law.
Definition at line 50 of file STK_MultiLaw_JointNormal.h.
typedef JointProbability<RowVector, Law::Normal> STK::MultiLaw::JointNormal< RowVector >::Base |
Definition at line 53 of file STK_MultiLaw_JointNormal.h.
|
inline |
default constructor
Definition at line 55 of file STK_MultiLaw_JointNormal.h.
|
inline |
constructor
Definition at line 57 of file STK_MultiLaw_JointNormal.h.
|
inlinevirtual |
|
inline |
Definition at line 61 of file STK_MultiLaw_JointNormal.h.
References STK::MultiLaw::JointProbability< RowVector, Law::Normal >::law().
Referenced by STK::MultiLaw::JointNormal< RowVector >::setMu().
|
inline |
set the mean of the jth law
Definition at line 63 of file STK_MultiLaw_JointNormal.h.
References STK::MultiLaw::JointProbability< RowVector, Law::Normal >::law(), and STK::MultiLaw::JointNormal< RowVector >::mu().
|
inline |
set the standard deviation of the jth law
Definition at line 68 of file STK_MultiLaw_JointNormal.h.
References STK::MultiLaw::JointProbability< RowVector, Law::Normal >::law(), and STK::MultiLaw::JointNormal< RowVector >::sigma().
|
inline |
Definition at line 66 of file STK_MultiLaw_JointNormal.h.
References STK::MultiLaw::JointProbability< RowVector, Law::Normal >::law().
Referenced by STK::MultiLaw::JointNormal< RowVector >::setSigma().