Click or drag to resize
ArrayStatisticsMean Method
Estimates the arithmetic sample mean from the unsorted data array. Returns NaN if data is empty or any entry is NaN.

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public static double Mean(
	double[] data
)

Parameters

data
Type: SystemDouble
Sample array, no sorting is assumed.

Return Value

Type: Double
See Also