Click or drag to resize

NMathFunctionsVariance(Int32) Method

Calculates the variance of the given data.

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

Parameters

data  Int32
An array of integers.

Return Value

Double
Variance.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data has a length of zero.
Remarks
Uses the default bias in StatsSettings.
See Also