公有成員函式
<random>

std::cauchy_distribution::max

result_type max() const;
最大值
返回成員 operator() 可能返回的值的最小上界。

由於 cauchy_distribution 表示一個無界分佈,該函式返回由result_type:
numeric_limits<result_type>::max()numeric_limits<result_type>::infinity() 表示的最大值,具體取決於實現。

引數



返回值

分佈範圍的最小上界值,該值可以用 result_type 表示。
result_type是一個成員型別,定義為第一個類模板引數的別名 (實數型別 (RealType)).

複雜度

常量。

另見