Calculates the biased standard deviation of the elements in the given data set, using the specified bias.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public static double StandardDeviation(
	int[] data,
	BiasType type
)
Visual Basic (Declaration)
Public Shared Function StandardDeviation ( _
	data As Integer(), _
	type As BiasType _
) As Double
Visual C++
public:
static double StandardDeviation(
	array<int>^ data, 
	BiasType type
)

Parameters

data
Type: array< System..::.Int32 >[]()[]
An array of integers.
type
Type: CenterSpace.NMath.Stats..::.BiasType
Bias type.

Return Value

Standard deviation.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentException Thrown if data has a length of zero.

See Also