mean_dp Subroutine

public subroutine mean_dp(x_dp, xm, xs, number)

Uses


                                                                        *

This subroutine calculates mean and standard deviation of a given element.* * AUTHOR: Andreas Stohl, 25 January 1994 * * Double precision version ESO 2016 *


                                                                        *

Variables: * x_dp(number) field of input data * xm mean * xs standard deviation * number number of elements of field x_dp * * Constants: * eps tiny number * *


Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: x_dp(number)
real(kind=dp), intent(out) :: xm
real(kind=dp), intent(out) :: xs
integer, intent(in) :: number