Click or drag to resize

NMathFunctionsVariance(Int32, BiasType) Method

Calculates the variance of the given data, using the specified bias type.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double Variance(
	int[] data,
	BiasType type
)

Parameters

data  Int32
An array of integers.
type  BiasType
Bias type.

Return Value

Double
Variance.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data has a length of zero.
See Also