Compartir a través de


piecewise_constant_distribution::param

Gets or sets the parameters for the distribution.

param_type param() const;
void param(const param_type& par0);

Parameters

  • par0
    The parameter package used to initialize all the parameters of the distribution.

Remarks

The first member function returns and object that stores all the parameters of the distribution. The second member function initializes all the parameters from par0.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

piecewise_constant_distribution Class

Other Resources

<random> Members