Click or drag to resize

DistanceSingleLinkage Method

Computes the single linkage between the specified clusters.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public static double SingleLinkage(
	DoubleMatrix left,
	DoubleMatrix right
)

Parameters

left
Type: Novacta.AnalyticsDoubleMatrix
The left cluster.
right
Type: Novacta.AnalyticsDoubleMatrix
The right cluster.

Return Value

Type: Double
The single linkage between the specified clusters.
Exceptions
ExceptionCondition
ArgumentNullExceptionleft is null.
-or-
right is null.
ArgumentExceptionright has not the same NumberOfColumns of left.
Remarks

A cluster is defined as a set of multidimensional points. The rows of left or right are interpreted as the multidimensional points in the cluster.

This method returns the shortest Euclidean distance between pairs of individuals in which one belongs to cluster left, the other to cluster right.

See Also