Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

bernoulli_distribution::param

Gets or sets the parameters of the distribution.

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

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

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.

Header: <random>

Namespace: std

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.