Scroll to navigation

std::discrete_distribution::max(3) C++ Standard Libary std::discrete_distribution::max(3)

NAME

std::discrete_distribution::max - std::discrete_distribution::max

Synopsis


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


Returns the maximum value potentially generated by the distribution.

Parameters


(none)

Return value


The maximum value potentially generated by the distribution.

Complexity


Constant.

See also


min returns the minimum potentially generated value
(C++11) (public member function)

2024.06.10 http://cppreference.com