docs: @Override
    public double getDensity(double[] p) {
      if(trans != null) {
        p = trans.applyInverse(p);
      }
  
      double density = densitycorrection;
      for(int i = 0; i < dim; i++) {
        density *= axes.get(i).pdf(p[i]);
      }
      return density;
    }