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 hidden namespace enclose the classes and methods which are used internally by the STK++ classes.
The namespace STK is the main domain space of the Statistical ToolKit project.
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
std::remove_const< typenamestd::remove_reference< Type_ >::type >::type Type
ValueApplier(Type const &value)
RemoveConst< Type >::Type TypeConst