Computes standard deviation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
| real(kind=wp), | intent(in) | :: | ddf |
delta degrees of freedom |
standard deviation
pure function f_sts_std_core(x, ddf) result(std) ! ==== Description !! Computes standard deviation. ! ==== Declarations real(wp), intent(in) :: x(:) !! x vector (assumed size array) real(wp), intent(in) :: ddf !! delta degrees of freedom real(wp) :: std !! standard deviation ! ==== Instructions ! call pure function std = sqrt( f_sts_var_core(x, 0.0_wp) ) end function f_sts_std_core