docs: public void setG(double G)
      {
          if(G < 1 || Double.isInfinite(G) || Double.isNaN(G))
              throw new IllegalArgumentException("G must be in [1, Infinity), not " + G);
          this.G = G;
      }