std::discrete_distribution::max

std::discrete_distribution::max

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

returns the minimum potentially generated value
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/numeric/random/discrete_distribution/max

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部