#include <normal_distribution.hpp>
Public Types | |
typedef normal_distribution | distribution_type |
Public Member Functions | |
param_type (RealType mean_arg=RealType(0.0), RealType sigma_arg=RealType(1.0)) | |
Constructs a param_type with a given mean and standard deviation. More... | |
RealType | mean () const |
Returns the mean of the distribution. More... | |
RealType | sigma () const |
Returns the standand deviation of the distribution. More... | |
BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR (os, param_type, parm) | |
Writes a param_type to a std::ostream . More... | |
BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR (is, param_type, parm) | |
Reads a param_type from a std::istream . More... | |
BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR (param_type, lhs, rhs) | |
Returns true if the two sets of parameters are the same. More... | |
typedef normal_distribution boost::random::normal_distribution< RealType >::param_type::distribution_type |
|
inlineexplicit |
Constructs a param_type
with a given mean and standard deviation.
Requires: sigma >= 0
Referenced by boost::random::normal_distribution< result_type >::param().
|
inline |
Returns true if the two sets of parameters are the same.
|
inline |
Reads a param_type
from a std::istream
.
|
inline |
Writes a param_type
to a std::ostream
.
|
inline |
Returns the mean of the distribution.
|
inline |
Returns the standand deviation of the distribution.