Click or drag to resize

DistanceJaccard(Double, Double) Method

Jaccard distance, i.e. 1 - the Jaccard index.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double Jaccard(
	double[] a,
	double[] b
)

Parameters

a  Double
The first vector.
b  Double
The second vector.

Return Value

Double
Jaccard distance.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if a or b are null.
ArgumentExceptionThrow if a and b are of different lengths.
See Also