 | EnumerableExtensions.StdDev<T> Method |
Calculates the population standard deviation of a list of at least 2 values.
Namespace:
TestHelperExtensions
Assembly:
CBI.TestHelperExtensions (in CBI.TestHelperExtensions.dll) Version: 2.1.0.1
Syntaxpublic static double StdDev<T>(
this IEnumerable<T> values
)
<ExtensionAttribute>
Public Shared Function StdDev(Of T) (
values As IEnumerable(Of T)
) As Double
public:
[ExtensionAttribute]
generic<typename T>
static double StdDev(
IEnumerable<T>^ values
)
[<ExtensionAttribute>]
static member StdDev :
values : IEnumerable<'T> -> float
Parameters
- values
- Type: System.Collections.Generic.IEnumerable<T>
A list of numeric values for which the standard deviation is to be determined.
Type Parameters
- T
- Any numeric data type.
Return Value
Type:
DoubleA double containing the population standard deviation of the list of values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable<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).
See Also