Click or drag to resize
CorrelationPearsonMatrix Method (IEnumerableDouble)
Computes the Pearson Product-Moment Correlation matrix.

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public static Matrix<double> PearsonMatrix(
	IEnumerable<double[]> vectors
)

Parameters

vectors
Type: System.Collections.GenericIEnumerableDouble
Enumerable of sample data vectors.

Return Value

Type: MatrixDouble
The Pearson product-moment correlation matrix.
See Also