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.3179.0 (4.8.3179.0)
Syntax
C#
public static double Jaccard(
	float[] a,
	float[] b
)

Parameters

a  Single

[Missing <param name="a"/> documentation for "M:Altaxo.Calc.Distance.Jaccard(System.Single[],System.Single[])"]

b  Single

[Missing <param name="b"/> documentation for "M:Altaxo.Calc.Distance.Jaccard(System.Single[],System.Single[])"]

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