Altaxo user manual and class reference
Altaxo user manual and class reference
Altaxo class reference
Altaxo Namespaces
Altaxo.Calc Namespaces
Altaxo.Calc
Distance Class
Distance Methods
Jaccard Method
Jaccard(Double[], Double[]) Method
Jaccard(Single[], Single[]) Method
Distance
Jaccard(
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#
Copy
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
Exception
Condition
ArgumentNullException
Thrown if a or b are null.
ArgumentException
Throw if a and b are of different lengths.
See Also
Reference
Distance Class
Jaccard Overload
Altaxo.Calc Namespace
Altaxo can be downloaded from
SourceForge
. Source code available on
Github
.
(C) Dr. Dirk Lellinger and all contributors to the source code 2002 -
Send comments on this topic to
dlellinger@users.sourceforge.net