Probability density function for normal distribution.
The location parameter (mu
) is an optional argument and will default to 0.0 if not passed.
The scale parameter (sigma
) is an optional argument. If passed, it must be non-zero positive.
It will default to 1.0 if not passed.
Impure wrapper function for f_dst_norm_pdf_core
.
Handles optional arguments and invalid values for arguments.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | x |
sample position |
||
real(kind=wp), | intent(in), | optional | :: | mu |
distribution location (mean) |
|
real(kind=wp), | intent(in), | optional | :: | sigma |
distribution dispersion/scale (standard deviation) |