code: @Override
      public double magnitudeSqr( Object pt ) {
          double sum = 0.0;
          double[] coords = coords(pt);
          for( int i = 0; i < dimensions; i++ ) {
              double c = coords[i];
              sum += c * c;
          }
          return sum;
      }
docs: space point operations