Click or drag to resize

DistanceJaccard(Single, Single) 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(
	float[] a,
	float[] b
)

Parameters

a  Single
The first vector.
b  Single
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