docs: @Override
    public DoubleVector getCenterOfMass() {
      final int dim = bounds.getDimensionality();
      double[] mean = new double[dim];
      for(int d = 0; d < dim; d++) {
        mean[d] = (bounds.getMin(d) + bounds.getMax(d)) * .5;
      }
      return DoubleVector.wrap(mean);
    }