Stats.PopulationStandardDeviation Method

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

PopulationStandardDeviation(DateTime[]) Returns the standard deviation of the elements of an array.
PopulationStandardDeviation(Vector<DateTime>) Returns the standard deviation of the elements of a numerical variable.
PopulationStandardDeviation<T>(IEnumerable<T>) Returns the standard deviation of the elements of an array.
PopulationStandardDeviation<T>(T[]) Returns the standard deviation of the elements of an array.
PopulationStandardDeviation<T>(Vector<T>) Returns the standard deviation of the elements of a vector.

PopulationStandardDeviation(DateTime[])

Returns the standard deviation of the elements of an array.
C#
public static TimeSpan PopulationStandardDeviation(
	DateTime[] values
)

Parameters

values  DateTime[]
An DateTime array.

Return Value

TimeSpan
The standard deviation of the elements of values.

Remarks

The standard deviation is a TimeSpan value.

Exceptions

ArgumentNullExceptionvalues is null.

PopulationStandardDeviation<T>(IEnumerable<T>)

Returns the standard deviation of the elements of an array.
C#
public static double PopulationStandardDeviation<T>(
	IEnumerable<T> values
)

Parameters

values  IEnumerable<T>
An object that implements IEnumerable<Double>.

Type Parameters

T

Return Value

Double
The standard deviation of the elements of values.

Exceptions

ArgumentNullExceptionvalues is null.

PopulationStandardDeviation<T>(T[])

Returns the standard deviation of the elements of an array.
C#
public static double PopulationStandardDeviation<T>(
	T[] values
)

Parameters

values  T[]
A Double array.

Type Parameters

T

Return Value

Double
The standard deviation of the elements of values.

Exceptions

ArgumentNullExceptionvalues is null.

PopulationStandardDeviation(Vector<DateTime>)

Returns the standard deviation of the elements of a numerical variable.
C#
public static TimeSpan PopulationStandardDeviation(
	Vector<DateTime> values
)

Parameters

values  Vector<DateTime>
A Vector<T> of DateTime.

Return Value

TimeSpan
The standard deviation of the elements of values.

Exceptions

ArgumentNullExceptionvalues is null.

PopulationStandardDeviation<T>(Vector<T>)

Returns the standard deviation of the elements of a vector.
C#
public static double PopulationStandardDeviation<T>(
	this Vector<T> values
)

Parameters

values  Vector<T>
A vector.

Type Parameters

T

Return Value

Double
The 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

ArgumentNullExceptionvalues is null.

See Also