Stats.Standard Deviation 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
Standard | Returns the standard deviation of the elements of an array. |
Standard | Returns the standard deviation of the elements of an array. |
Standard | Returns the standard deviation of the elements of an array. |
Standard | Returns the standard deviation of the elements of an array. |
Standard | Returns the standard deviation of the elements of a numerical variable. |
Standard | Returns the standard deviation of the elements of a vector. |
Standard | Returns the standard deviation of the elements of a vector. |
StandardDeviation(DateTime[])
Returns the standard deviation of the elements of an array.
public static TimeSpan StandardDeviation(
DateTime[] values
)
Parameters
- values DateTime[]
- An DateTime array.
Return Value
TimeSpanThe standard deviation of the elements of values.
Remarks
The standard deviation is a TimeSpan value.
Exceptions
ArgumentNullException | values is null. |
StandardDeviation(Double[])
Returns the standard deviation of the elements of an array.
public static double StandardDeviation(
double[] values
)
Parameters
- values Double[]
- A Double array.
Return Value
DoubleThe standard deviation of the elements of values.
Exceptions
ArgumentNullException | values is null. |
StandardDeviation(IEnumerable<Double>)
Returns the standard deviation of the elements of an array.
public static double StandardDeviation(
IEnumerable<double> values
)
Parameters
- values IEnumerable<Double>
- An object that implements IEnumerable<Double>.
Return Value
DoubleThe standard deviation of the elements of values.
Exceptions
ArgumentNullException | values is null. |
StandardDeviation(Int32[])
Returns the standard deviation of the elements of an array.
public static double StandardDeviation(
int[] values
)
Parameters
- values Int32[]
- An Int32 array.
Return Value
DoubleThe standard deviation of the elements of values.
Remarks
The standard deviation is a Double value.
Exceptions
ArgumentNullException | values is null. |
StandardDeviation(Vector<DateTime>)
Returns the standard deviation of the elements of a numerical variable.
public static TimeSpan StandardDeviation(
this Vector<DateTime> values
)
Parameters
Return Value
TimeSpanThe standard deviation 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<DateTime>. 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. |
StandardDeviation(Vector<Double>)
Returns the standard deviation of the elements of a vector.
public static double StandardDeviation(
this Vector<double> values
)
Parameters
- values Vector<Double>
- A vector.
Return Value
DoubleThe standard deviation 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. |
StandardDeviation<T>(Vector<T>)
Returns the standard deviation of the elements of a vector.
public static double StandardDeviation<T>(
this Vector<T> values
)
Parameters
- values Vector<T>
- A vector.
Type Parameters
- T
Return Value
DoubleThe standard deviation 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<T>. 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. |