  | LinkageCentroidLinkage Method | 
            Computes the distance between two clusters as the difference between centroids. 
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic static double CentroidLinkage(
	double Drp,
	double Drq,
	double Dpq,
	double Nr,
	double Np,
	double Nq
)
Public Shared Function CentroidLinkage ( 
	Drp As Double,
	Drq As Double,
	Dpq As Double,
	Nr As Double,
	Np As Double,
	Nq As Double
) As Double
public:
static double CentroidLinkage(
	double Drp, 
	double Drq, 
	double Dpq, 
	double Nr, 
	double Np, 
	double Nq
)
static member CentroidLinkage : 
        Drp : float * 
        Drq : float * 
        Dpq : float * 
        Nr : float * 
        Np : float * 
        Nq : float -> float Parameters
- Drp  Double
 - The distance between R and P.
 - Drq  Double
 - The distance between R and Q.
 - Dpq  Double
 - The distance between P and Q.
 - Nr  Double
 - The number of objects in R.
 - Np  Double
 - The number of objects in P.
 - Nq  Double
 - The number of objects in Q.
 
Return Value
DoubleThe distance between R and P + Q.
Remarks
            During cluster analysis when two groups P and Q are united, a linkage function
            computes the distance between the new group P + Q and another group R.
            
            The centroid of a cluster is the average point in the multidimensional space. 
            The centroid method is sometimes referred to as "unweighted pair-group method
            using the centroid average," and abbreviated UPGMC. 
            
See Also