mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 21:51:40 +03:00
Fix Issue 14181 - Wrong document for std.mathspecial.normalDistribution
This commit is contained in:
parent
d494e27c35
commit
ee7d941b9a
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ real erfc(real x)
|
||||||
* The normal (or Gaussian, or bell-shaped) distribution is
|
* The normal (or Gaussian, or bell-shaped) distribution is
|
||||||
* defined as:
|
* defined as:
|
||||||
*
|
*
|
||||||
* normalDist(x) = 1/$(SQRT) $(PI) $(INTEGRATE -$(INFIN), x) exp( - $(POWER t, 2)/2) dt
|
* normalDist(x) = 1/$(SQRT)(2$(PI)) $(INTEGRATE -$(INFIN), x) exp( - $(POWER t, 2)/2) dt
|
||||||
* = 0.5 + 0.5 * erf(x/sqrt(2))
|
* = 0.5 + 0.5 * erf(x/sqrt(2))
|
||||||
* = 0.5 * erfc(- x/sqrt(2))
|
* = 0.5 * erfc(- x/sqrt(2))
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue