Namespaces
Variants
Views
Actions

std::discrete_distribution<IntType>::max

From cppreference.com
< cpp‎ | numeric‎ | random‎ | discrete distribution
Revision as of 21:07, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
 
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]