docs: @Pure
      public static double random(double minX, double maxX, boolean ascendent) throws MathException {
          return StochasticGenerator.generateRandomValue(new LinearStochasticLaw(minX, maxX, ascendent));
      }