docs: public void setLambda(double lambda)
      {
          if (Double.isNaN(lambda) || lambda <= 0 || Double.isInfinite(lambda))
              throw new IllegalArgumentException("lambda must be positive, not " + lambda);
          this.lambda = lambda;
      }