Click or drag to resize
ArrayStatisticsPopulationCovariance Method
Evaluates the population covariance from the full population provided as two arrays. On a dataset of size N will use an N normalizer and would thus be biased if applied to a subset. Returns NaN if data is empty or if any entry is NaN.

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public static double PopulationCovariance(
	double[] population1,
	double[] population2
)

Parameters

population1
Type: SystemDouble
First population array.
population2
Type: SystemDouble
Second population array.

Return Value

Type: Double
See Also