Click or drag to resize
StreamingStatisticsRootMeanSquare Method
Estimates the root mean square (RMS) also known as quadratic mean from the enumerable, in a single pass without memoization. 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 RootMeanSquare(
	IEnumerable<double> stream
)

Parameters

stream
Type: System.Collections.GenericIEnumerableDouble
Sample stream, no sorting is assumed.

Return Value

Type: Double
See Also