Computes standard deviation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | x(:) |
x vector (assumed size array) |
||
real(kind=wp), | intent(in) | :: | ddof |
delta degrees of freedom |
standard deviation
pure function f_sts_std_core(x, ddof) result(std) ! ==== Description !! Computes standard deviation. ! ==== Declarations real(wp), intent(in) :: x(:) !! x vector (assumed size array) real(wp), intent(in) :: ddof !! 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