Stats.Population Standard Deviation Method
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Population | Returns the population standard deviation of the elements of an array. |
Population | Returns the population standard deviation of the elements of a numerical variable. |
Population | Returns the population standard deviation of the elements of a vector. |
Population | Returns the population standard deviation of the elements of an array. |
Population | Returns the population standard deviation of the elements of an array. |
Population | Returns the population standard deviation of the elements of a span. |
PopulationStandardDeviation(DateTime[])
Returns the population standard deviation of the elements of an array.
public static TimeSpan PopulationStandardDeviation(
DateTime[] values
)
Parameters
Return Value
TimeSpanThe standard deviation of the elements of values.
Remarks
The standard deviation is a TimeSpan value.
Exceptions
Argument | values is null. |
PopulationStandardDeviation(Vector<DateTime>)
Returns the population standard deviation of the elements of a numerical variable.
public static TimeSpan PopulationStandardDeviation(
Vector<DateTime> values
)
Parameters
Return Value
TimeSpanThe standard deviation of the elements of values.
Exceptions
Argument | values is null. |
PopulationStandardDeviation<T>(Vector<T>)
Returns the population standard deviation of the elements of a vector.
public static double PopulationStandardDeviation<T>(
this Vector<T> values
)
Parameters
- values Vector<T>
- A vector.
Type Parameters
- T
- The type of the elements of values.
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
Argument | values is null. |
PopulationStandardDeviation<T>(T[], Boolean)
Returns the population standard deviation of the elements of an array.
public static double PopulationStandardDeviation<T>(
this T[] values,
bool skipMissingValues = false
)
Parameters
- values T[]
- An array of values.
- skipMissingValues Boolean (Optional)
- Optional. Specifies whether missing values should be excluded from the calculation. The default is false.
Type Parameters
- T
- The type of the elements of values.
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 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
Argument | values is null. |
PopulationStandardDeviation<T>(IEnumerable<T>, Boolean)
Returns the population standard deviation of the elements of an array.
public static double PopulationStandardDeviation<T>(
IEnumerable<T> values,
bool skipMissingValues = false
)
Parameters
- values IEnumerable<T>
- An object that implements IEnumerable<Double>.
- skipMissingValues Boolean (Optional)
- Optional. Specifies whether missing values should be excluded from the calculation. The default is false.
Type Parameters
- T
- The type of the elements of values.
Return Value
DoubleThe standard deviation of the elements of values.
Exceptions
Argument | values is null. |
PopulationStandardDeviation<T>(ReadOnlySpan<T>, Boolean)
Returns the population standard deviation of the elements of a span.
public static double PopulationStandardDeviation<T>(
this ReadOnlySpan<T> values,
bool skipMissingValues = false
)
Parameters
- values ReadOnlySpan<T>
- A span of values.
- skipMissingValues Boolean (Optional)
- Optional. Specifies whether missing values should be excluded from the calculation. The default is false.
Type Parameters
- T
- The type of the elements of values.
Return Value
DoubleThe standard deviation of the elements of values.