Click or drag to resize

DescriptiveStatisticsRootMeanSquare Method

Calculates the root mean square (RMS) of a list of doubles.

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

Parameters

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

Return Value

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