Computes the mean of a set of data.
Computes the mean using a scaled, compensated sum.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | x(:) |
The array of values to analyze. |
Mean; empty arrays or nonfinite observations give NaN.
Computes a column mean using a scaled, compensated sum without copying data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(data_column), | intent(in) | :: | x |
The input column; unallocated storage is treated as empty. |
Mean; empty arrays or nonfinite observations give NaN.