|
STK++ 0.9.13
|
Structure encapsulating the parameters of a Joint Bernoulli model. More...
#include <STK_JointBernoulliModel.h>

Public Member Functions | |
| JointBernoulliParameters () | |
| default constructor | |
| JointBernoulliParameters (Range const &size) | |
| constructor with fixed size | |
| JointBernoulliParameters (JointBernoulliParameters const ¶m) | |
| copy constructor. | |
| ~JointBernoulliParameters () | |
| destructor | |
| Real const | prob (int const &j) const |
| Real const | lnProb (int const &j) const |
| Real const | ln1mProb (int const &j) const |
| void | setProb (int const &j, Real const &prob) |
| set the probability of success of the jth law | |
| void | resizeImpl (Range const &range) |
| resize the set of parameter | |
Public Member Functions inherited from STK::IMultiParameters< JointBernoulliParameters > | |
| Range const & | range () const |
| void | resize (Range const &range) |
| resize the parameters only if the range is modified, otherwise, stay with the current values. | |
Public Member Functions inherited from STK::IRecursiveTemplate< Derived > | |
| Derived & | asDerived () |
| static cast : return a reference of this with a cast to the derived class. | |
| Derived const & | asDerived () const |
| static cast : return a const reference of this with a cast to the derived class. | |
| Derived * | asPtrDerived () |
static cast : return a ptr on a Derived of this with a cast to the derived class. | |
| Derived const * | asPtrDerived () const |
static cast : return a ptr on a constant Derived of this with a cast to the derived class. | |
| Derived * | clone () const |
| create a leaf using the copy constructor of the Derived class. | |
| Derived * | clone (bool isRef) const |
| create a leaf using the copy constructor of the Derived class and a flag determining if the clone is a reference or not. | |
Protected Attributes | |
| Array2DPoint< Real > | prob_ |
| Array2DPoint< Real > | lnProb_ |
| Array2DPoint< Real > | ln1mProb_ |
Additional Inherited Members | |
Protected Member Functions inherited from STK::IMultiParameters< JointBernoulliParameters > | |
| IMultiParameters () | |
| default constructor. | |
| IMultiParameters (Range const &range) | |
| constructor with specified range | |
| IMultiParameters (IMultiParameters const ¶m) | |
| copy constructor. | |
| ~IMultiParameters () | |
| Destructor. | |
Protected Member Functions inherited from STK::IRecursiveTemplate< Derived > | |
| IRecursiveTemplate () | |
| constructor. | |
| ~IRecursiveTemplate () | |
| destructor. | |
Structure encapsulating the parameters of a Joint Bernoulli model.
Definition at line 51 of file STK_JointBernoulliModel.h.
|
inline |
constructor with fixed size
Definition at line 57 of file STK_JointBernoulliModel.h.
|
inline |
copy constructor.
| param | the parameters to copy. |
Definition at line 63 of file STK_JointBernoulliModel.h.
|
inline |
Definition at line 75 of file STK_JointBernoulliModel.h.
References ln1mProb_.
Definition at line 73 of file STK_JointBernoulliModel.h.
References lnProb_.
Definition at line 71 of file STK_JointBernoulliModel.h.
References prob_.
Referenced by setProb().
resize the set of parameter
Definition at line 85 of file STK_JointBernoulliModel.h.
References ln1mProb_, lnProb_, prob_, STK::IMultiParameters< JointBernoulliParameters >::range(), and STK::IArray2D< Derived >::resize().
set the probability of success of the jth law
Definition at line 77 of file STK_JointBernoulliModel.h.
|
protected |
Definition at line 91 of file STK_JointBernoulliModel.h.
Referenced by ln1mProb(), resizeImpl(), and setProb().
|
protected |
Definition at line 90 of file STK_JointBernoulliModel.h.
Referenced by lnProb(), resizeImpl(), and setProb().
|
protected |
Definition at line 89 of file STK_JointBernoulliModel.h.
Referenced by prob(), resizeImpl(), and setProb().