Click or drag to resize

NMathFunctionsNaNVariance(DoubleVector, BiasType) Method

Calculates the variance of the given data, using the specified bias type and excluding NaN values.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double NaNVariance(
	DoubleVector data,
	BiasType type
)

Parameters

data  DoubleVector
A vector.
type  BiasType
Bias type.

Return Value

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