Computes the population or sample standard deviation (depending on passed arguments).
where is the variance of vector x.
(ddof) can also be passed and serves as a degrees of freedom adjustment
when the variance is caulculated. (ddof = 0.0 for population standard deviation,
ddof = 1.0 for sample standard deviation)
Impure wrapper function for f_sts_std_core.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in), | optional | :: | ddf |
delta degrees of freedom |
standard deviation