Click or drag to resize
DigitalRuneStatisticsHelperComputeCovarianceMatrix Method (IListVectorD)
Computes the covariance matrix for a list of n-dimensional points (double-precision).

Namespace: DigitalRune.Mathematics.Statistics
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static MatrixD ComputeCovarianceMatrix(
	IList<VectorD> points
)

Parameters

points
Type: System.Collections.GenericIListVectorD
The points. All points must have the same NumberOfElements.

Return Value

Type: MatrixD
The covariance matrix.
Exceptions
ExceptionCondition
ArgumentNullExceptionpoints is .
ArgumentExceptionpoints is empty.
See Also