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)
m (r2.7.3) (Robot: Adding de, es, fr, it, ja, pt, ru, zh)
Line 1: Line 1:
 
{{page template|cpp/numeric/random/distribution/max|discrete_distribution}}
 
{{page template|cpp/numeric/random/distribution/max|discrete_distribution}}
 +
 +
 +
 +
 +
 +
 +
 +
 +

Revision as of 21:07, 2 November 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]