Click or drag to resize

NMathFunctionsVariance(FloatComplexMatrix) Method

Computes the variance of the matrix columns.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatComplexVector Variance(
	FloatComplexMatrix A
)

Parameters

A  FloatComplexMatrix
A matrix.

Return Value

FloatComplexVector
A new vector.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if A has zero rows.
Remarks
v[j] = (System.Math.pow(A[0,j] - mean, 2) + System.Math.pow(A[i,j] - mean, 2) + ... ) / n
See Also