ArrayStatisticsHarmonicMean(Int32) Method |
Evaluates the harmonic mean of the unsorted data array.
Returns NaN if data is empty or any entry is NaN.
Namespace: Altaxo.Calc.StatisticsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double HarmonicMean(
int[] data
)
Parameters
- data Int32
- Sample array, no sorting is assumed.
Return Value
DoubleThe harmonic mean, or
NaN if the data is empty or contains NaN.
See Also