docs: @Override
    public void setDimensionality(int dimensionality) throws IllegalArgumentException {
      final int maxdim = getMaxDim();
      if(maxdim > dimensionality) {
        throw new IllegalArgumentException("Given dimensionality " + dimensionality + " is too small w.r.t. the given values (occurring maximum: " + maxdim + ").");
      }
      this.dimensionality = dimensionality;
    }