StreamingStatisticsRootMeanSquare(IEnumerableDouble) 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: Altaxo.Calc.StatisticsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double RootMeanSquare(
IEnumerable<double> stream
)
Parameters
- stream IEnumerableDouble
- Sample stream, no sorting is assumed.
Return Value
DoubleThe root mean square (quadratic mean) of the stream, or
double.NaN if the stream is empty or contains
NaN.
See Also