Click or drag to resize

NMathFunctionsNaNVariance(Double, 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(
	double[] data,
	BiasType type
)

Parameters

data  Double
An array of doubles.
type  BiasType
Bias type.

Return Value

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