variance Function

public pure function variance(x) result(rst)

Computes the sample variance of the values in an array.

The variance computed is the sample variance such that .

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x(:)

The array of values to analyze.

Return Value real(kind=real64)


Contents