mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
added probability density function of the normal distribution
This commit is contained in:
parent
ef6871f94b
commit
749668d830
3 changed files with 14 additions and 1 deletions
2
const.hh
2
const.hh
|
|
@ -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))
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue