Click or drag to resize

DescriptiveStatisticsMean Method

Calculates the mean of a list of doubles.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static double Mean(
	IList<double> dataList
)

Parameters

dataList
Type: System.Collections.GenericIListDouble
The list of doubles to use to calculate the mean.

Return Value

Type: Double
The mean value.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when dataList is .
ArgumentException Thrown when dataList is empty.
See Also