Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/numeric/random/discrete distribution/max"

From cppreference.com
(+)
 
m (Add link to edit the included template)
Line 1: Line 1:
{{cpp/numeric/random/distribution/max|discrete_distribution}}
+
{{cpp/numeric/random/distribution/max|discrete_distribution}}

Revision as of 09:46, 14 October 2012

 
 
 
 
 
result_type max() const;
(since C++11)

Returns the maximum value potentially generated by the distribution.

Contents

Parameters

(none)

Return value

The maximum value potentially generated by the distribution.

Complexity

Constant.

See also

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