mean Interface

public interface mean

Public interface for routines that calculate the mean value.


Contents


Module Procedures

public pure function mean_array_re(x) result(r)

Calculates the mean value of a real-valued array.

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(:):: x

Real-valued array

Return Value real(kind=wp)

Mean value

public pure function mean_array_cx(x) result(r)

Calculates the mean value of a complex-valued array.

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in), dimension(:):: x

Complex-valued array

Return Value complex(kind=wp)

Mean value