code: protected void subSetup(Matrix m) {
          completeCentroid = new DenseDynamicMagnitudeVector(m.columns());
          for (DoubleVector v : matrix)
              VectorMath.add(completeCentroid, v);
  
          simToComplete = new double[centroids.length];
          for (int c = 0; c < centroids.length; ++c)
              simToComplete[c] = VectorMath.dotProduct(
                      completeCentroid, centroids[c]);
      }
docs: {@inheritDoc}