private double calcNormalizedDistance(double[] point){
  double[] center=getCenter();
  double res=0.0;
  for (int i=0; i < center.length; i++) {
    double diff=center[i] - point[i];
    res+=(diff * diff);
  }
  return Math.sqrt(res);
}

private double calcNormalizedDistance ( double [ ] point ) { double [ ] center = getCenter ( ) ; double res = 0.0 ; for ( int i = 0 ; i < center . length ; i ++ ) { double diff = center [ i ] - point [ i ] ; res += ( diff * diff ) ; } return Math . sqrt ( res ) ; }
calculate the normalized euclidean distance ( mahalanobis distance for distribution w / o covariances ) to a point .
