|
STK++ 0.9.13
|
Structure encapsulating the parameters of a Joint Bernoulli model. More...
#include <STK_ModelBernoulli_pj.h>
Public Member Functions | |
| Bernoulli_pjParameters () | |
| default constructor | |
| Bernoulli_pjParameters (Range const &size) | |
| constructor with fixed size | |
| Bernoulli_pjParameters (Bernoulli_pjParameters const ¶m) | |
| copy constructor. | |
| ~Bernoulli_pjParameters () | |
| destructor | |
| Range const & | range () const |
| CPointX const & | prob () const |
| CPointX const & | lnProb () const |
| CPointX const & | ln1mProb () const |
| void | setProb (int j, Real const &prob) |
| set the probability of success of the jth law | |
| void | resize (Range const &range) |
| resize the parameters only if the range is modified, otherwise, stay with the current values. | |
Public Attributes | |
| CPointX | prob_ |
| CPointX | lnProb_ |
| CPointX | ln1mProb_ |
| Range | range_ |
Structure encapsulating the parameters of a Joint Bernoulli model.
Definition at line 76 of file STK_ModelBernoulli_pj.h.
|
inline |
constructor with fixed size
Definition at line 82 of file STK_ModelBernoulli_pj.h.
|
inline |
copy constructor.
| param | the parameters to copy. |
Definition at line 88 of file STK_ModelBernoulli_pj.h.
|
inline |
Definition at line 102 of file STK_ModelBernoulli_pj.h.
References ln1mProb_.
Definition at line 100 of file STK_ModelBernoulli_pj.h.
References lnProb_.
Definition at line 98 of file STK_ModelBernoulli_pj.h.
References prob_.
Referenced by setProb().
Definition at line 96 of file STK_ModelBernoulli_pj.h.
References range_.
Referenced by resize().
resize the parameters only if the range is modified, otherwise, stay with the current values.
| range | the range of the parameters (= range of the variables of the model) |
Definition at line 116 of file STK_ModelBernoulli_pj.h.
References ln1mProb_, lnProb_, prob_, range(), range_, and STK::ICArray< Derived >::resize().
set the probability of success of the jth law
Definition at line 105 of file STK_ModelBernoulli_pj.h.
| CPointX STK::Bernoulli_pjParameters::ln1mProb_ |
Definition at line 127 of file STK_ModelBernoulli_pj.h.
Referenced by ln1mProb(), resize(), and setProb().
| CPointX STK::Bernoulli_pjParameters::lnProb_ |
Definition at line 126 of file STK_ModelBernoulli_pj.h.
| CPointX STK::Bernoulli_pjParameters::prob_ |
Definition at line 125 of file STK_ModelBernoulli_pj.h.
| Range STK::Bernoulli_pjParameters::range_ |
Definition at line 128 of file STK_ModelBernoulli_pj.h.