Namespaces
Variants

std::exponential_distribution<RealType>:: exponential_distribution

From cppreference.net
exponential_distribution ( ) : exponential_distribution ( 1.0 ) { }
(1) (C++11以降)
explicit exponential_distribution ( RealType lambda ) ;
(2) (C++11以降)
explicit exponential_distribution ( const param_type & params ) ;
(3) (C++11以降)

新しい分布オブジェクトを構築します。

2) lambda を分布パラメータとして使用します。
3) 分布パラメータとして params を使用します。

パラメータ

lambda - λ 分布パラメータ(レートパラメータ)
params - 分布パラメータセット

注記

0 < lambda であることを要求します。

不具合報告

以下の動作変更の欠陥報告書は、以前に公開されたC++規格に対して遡及的に適用されました。

DR Applied to Behavior as published Correct behavior
P0935R0 C++11 default constructor was explicit made implicit