 Usage:  ca = adap(x, k, w, m, t)  
 
 Input:

  x                      n x p matrix of n row points to be clustered 
                         
  k                      scalar the number of clusters 
                         
  w                      p x 1 matrix of weights of column points 
                         
  m                      n x 1 matrix of weights (masses) of row points 
                         
  t                      n x 1 matrix of the true partition (only if known, 
                         else a matrix containing 1) 
                         
 Output:

  ca.b                   n x 1 matrix partition of n points into k clusters 
                         
  ca.c                   k x p matrix of means (centroids) of clusters 
                         
  ca.v                   k x p matrix of within cluster variances divided by 
                         the corresponding weights (masses) of clusters 
                         
  ca.s                   k x 1 matrix of weights (masses) of clusters 
                         
  ca.a                   p x 1 matrix of adaptive weights of variables 
                         
--------------------------------------------------------------
(C) MD*TECH Method and Data Technologies, 17.8.2000
