Stats.Root Mean Square Method
            
            
            
            Definition
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
- values DateTime[]
 - An DateTime array.
 
Return Value
TimeSpanThe root-mean-square of the elements of values.
Remarks
The root-mean-square is a TimeSpan value.
Exceptions
| ArgumentNullException | values is null. | 
RootMeanSquare(Double[])
            Returns the root-mean-square of the elements of an array.
            
public static double RootMeanSquare(
	double[] values
)Parameters
- values Double[]
 - A Double array.
 
Return Value
DoubleThe root-mean-square of the elements of values.
Exceptions
| ArgumentNullException | values is null. | 
RootMeanSquare(Int32[])
            Returns the root-mean-square of the elements of an array.
            
public static double RootMeanSquare(
	int[] values
)Parameters
- values Int32[]
 - An Int32 array.
 
Return Value
DoubleThe root-mean-square of the elements of values.
Remarks
The root-mean-square is a Double value.
Exceptions
| ArgumentNullException | 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
- values Vector<Double>
 - A vector.
 
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
| ArgumentNullException | values is null. |