docs: public static double[][] computeMinMax(Relation<? extends NumberVector> relation) {
      int dim = RelationUtil.dimensionality(relation);
      double[] mins = new double[dim], maxs = new double[dim];
      for(int i = 0; i < dim; i++) {
        mins[i] = Double.MAX_VALUE;
        maxs[i] = -Double.MAX_VALUE;
      }
      for(DBIDIter iditer = relation.iterDBIDs(); iditer.valid(); iditer.advance()) {
        final NumberVector o = relation.get(iditer);
        for(int d = 0; d < dim; d++) {
          final double v = o.doubleValue(d);
          mins[d] = (v < mins[d]) ? v : mins[d];
          maxs[d] = (v > maxs[d]) ? v : maxs[d];
        }
      }
      return new double[][] { mins, maxs };
    }