| 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
)
Public Shared Function SingleLinkage (
left As DoubleMatrix,
right As DoubleMatrix
) As Double
public:
static double SingleLinkage(
DoubleMatrix^ left,
DoubleMatrix^ right
)
static member SingleLinkage :
left : DoubleMatrix *
right : DoubleMatrix -> float
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 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