Share via

Facebook x.com LinkedIn Email

normal_distribution::param_type

Stores the parameters of the distribution.

struct param_type {
 typedef normal_distribution<RealType> distribution_type;
 param_type(result_type mean0 = result_type(0.0),
 RealType sigma0 = result_type(1.0));
 RealType mean() const;
 RealType sigma() const;
 bool operator==(const param_type& right) const;
 bool operator!=(const param_type& right) const;
 };

Remarks

This parameter package can be passed to operator() to generate the return value.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

normal_distribution Class

Other Resources

<random> Members


  • Last updated on 2013年02月04日