Stats.Root Mean Square Method
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Root | Returns the root-mean-square of the elements of an array. |
Root | Returns the root-mean-square of the elements of an array. |
Root | Returns the root-mean-square of the elements of an array. |
Root | Returns the root-mean-square of the elements of a vector. |
RootMeanSquare(DateTime[])
Returns the root-mean-square of the elements of an array.
public static TimeSpan RootMeanSquare(
DateTime[] values
)
Parameters
Return Value
TimeSpanThe root-mean-square of the elements of values.
Remarks
The root-mean-square is a TimeSpan value.
Exceptions
Argument | values is null. |
RootMeanSquare(Double[])
Returns the root-mean-square of the elements of an array.
public static double RootMeanSquare(
double[] values
)
Parameters
Return Value
DoubleThe root-mean-square of the elements of values.
Exceptions
Argument | values is null. |
RootMeanSquare(Int32[])
Returns the root-mean-square of the elements of an array.
public static double RootMeanSquare(
int[] values
)
Parameters
Return Value
DoubleThe root-mean-square of the elements of values.
Remarks
The root-mean-square is a Double value.
Exceptions
Argument | values is null. |
RootMeanSquare(Vector<Double>)
Returns the root-mean-square of the elements of a vector.
public static double RootMeanSquare(
this Vector<double> values
)
Parameters
Return Value
DoubleThe root-mean-square of the elements of values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<Double>. 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).Exceptions
Argument | values is null. |