<random>

公有成員函式
<random>

std::exponential_distribution::lambda

result_type lambda() const;
Lambda
返回與 exponential_distribution 關聯的引數 lambda (λ)。

該引數代表平均每間隔觀測到的隨機事件次數。

該引數在 構造時 設定。

引數



返回值

與分佈物件關聯的 lambda 引數 (λ)。

複雜度

常量。

另見