Click or drag to resize

ArrayStatisticsPopulationCovariance(Single, Single) 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: Altaxo.Calc.Statistics
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double PopulationCovariance(
	float[] population1,
	float[] population2
)

Parameters

population1  Single
First population array.
population2  Single
Second population array.

Return Value

Double
The population covariance between the two arrays, or NaN if lengths mismatch or array empty.
See Also