median Function

public function median(x) result(rst)

Computes the median of the values in an array.

Arguments

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

The array of values to analyze. On output, this array is sorted into ascending order.

Return Value real(kind=real64)

The result.


Contents