|
STK++ 1.0
|
Interface base class for all the (univariate/multivariate) probabilities laws. More...
#include <STK_Law_ILawBase.h>

Public Member Functions | |
| virtual | ~ILawBase () |
| Virtual destructor. | |
| String const & | name () const |
| Get the name of the law. | |
| virtual void | update () |
| update the quantities specific to the law. | |
Protected Member Functions | |
| ILawBase (String const &name) | |
| Constructor. | |
Protected Attributes | |
| String | name_ |
| Name of the Law. | |
Static Protected Attributes | |
| static RandBase | generator |
| Pseudo-random uniform/Gaussian/exponential generator. | |
Interface base class for all the (univariate/multivariate) probabilities laws.
A general probability law possess a name. The parameters are specific to the law and will be set by reference.
Definition at line 54 of file STK_Law_ILawBase.h.
| STK::Law::ILawBase::ILawBase | ( | String const & | name | ) | [inline, protected] |
| virtual STK::Law::ILawBase::~ILawBase | ( | ) | [inline, virtual] |
| String const& STK::Law::ILawBase::name | ( | ) | const [inline] |
Get the name of the law.
Definition at line 70 of file STK_Law_ILawBase.h.
References name_.
{ return name_;}
| virtual void STK::Law::ILawBase::update | ( | ) | [inline, virtual] |
update the quantities specific to the law.
If the parameters are modified, these quantities will be updated.
Reimplemented in STK::Law::MultivariateNormal< Container1D >.
Definition at line 75 of file STK_Law_ILawBase.h.
Referenced by STK::GaussianStatModel::run().
{ }
RandBase STK::Law::ILawBase::generator [static, protected] |
Pseudo-random uniform/Gaussian/exponential generator.
Must be explicitly initialized outside the class with Law::ILawBase::generator, or an other constructor
Definition at line 82 of file STK_Law_ILawBase.h.
Referenced by STK::Law::Normal::rand(), and STK::Law::Cauchy::rand().
String STK::Law::ILawBase::name_ [protected] |