(2015年の過去記事)
ここにまとめられている↓
namespace ROOT::Math
gaussianのcdfが知りたい場合は、
double ROOT::Math::normal_cdf_c (double x, double sigma=1, double x0=0)
Complement of the cumulative distribution function of the normal (Gaussian) distribution (upper tail).
正の無限大からxまでと、負の無限大からxまでの2種類用意されているComplement of the cumulative distribution function of the normal (Gaussian) distribution (upper tail).
double ROOT::Math::normal_cdf (double x, double sigma=1, double x0=0)
Cumulative distribution function of the normal (Gaussian) distribution (lower tail).
xは下限値(上限値)
sigmaは正規分布の標準偏差
x0は正規分布の平均値
(一応ソースコードで確認)
ランキング参加中です
↓クリックしていただけると嬉しいです〜