Click or drag to resize

StatisticsMean(IReadOnlyListDouble) Method

Calculates the arithmetic mean of the sequence.

Namespace: Altaxo.Calc.Probability
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static double Mean(
	this IReadOnlyList<double> x
)

Parameters

x  IReadOnlyListDouble
The data values.

Return Value

Double
The arithmetic mean of x.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyListDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also