Namespaces
Variants
Views
Actions

std::bernoulli_distribution::max

From cppreference.com
 
 
 
 
 
result_type max() const;
(since C++11)

Returns the maximum value potentially generated by the distribution.

Contents

[edit] Parameters

(none)

[edit] Return value

The maximum value potentially generated by the distribution.

[edit] Complexity

Constant.

[edit] See also

(C++11)
returns the minimum potentially generated value
(public member function) [edit]