49template <
typename Type>
54 {
return Type(Law::generator.randUnif());}
61template <
typename Type>
66 {
return Type(Law::generator.randGauss());}
72template <
typename Type>
84template <
typename Type>
Interface base class for all the univariate distributions.
The namespace STK is the main domain space of the Statistical ToolKit project.
Visitor putting a choosen random variable.
RandApplier(Law::IUnivLaw< Type > const &law)
Law::IUnivLaw< Type > const & law_
RemoveConst< Type >::Type TypeConst
Visitor setting Gaussian random variables.
RemoveConst< Type >::Type TypeConst
Applier setting uniform random numbers.
RemoveConst< Type >::Type TypeConst
visitor putting a constant value
ValueApplier(Type const &value)
RemoveConst< Type >::Type TypeConst