Instance Method
probabilityDensity(at:)
The probability density function of the normal distribution.
func probabilityDensity(at value: RealType) -> RealType
Discussion
The density at $x$ is given by: $$\frac{1}{\sqrt{2 \pi \sigma^2}} e^{-\frac{(x - \mu)^2}{2 \sigma^2}}$$ Where $\mu$ and $\sigma^2$ are the mean and variance of the normal distribution, respectively.
For the standard normal distribution, this function is sometimes denoted by $\operatorname{φ}(x)$.