added probability density function of the normal distribution

This commit is contained in:
Ahmet Inan 2018-10-07 19:00:57 +02:00
commit 749668d830
3 changed files with 14 additions and 1 deletions

View file

@ -17,6 +17,8 @@ struct Const {
static constexpr T Pi() { return 3.14159265358979323846; } // 4*a(1)
static constexpr T TwoPi() { return 6.28318530717958647693; } // 8*a(1)
static constexpr T FourPi() { return 12.56637061435917295385; } // 16*a(1)
static constexpr T SqrtPi() { return 1.77245385090551602730; } // sqrt(4*a(1))
static constexpr T SqrtTwoPi() { return 2.50662827463100050242; } // sqrt(8*a(1))
};
}