Partager via


geometric_distribution::param

Gets or sets the parameters of the distribution.

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

Parameters

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

Remarks

The first member function returns an 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>

geometric_distribution Class

Other Resources

<random> Members