code: @Pure
      @Inline(value = "StochasticGenerator.generateRandomValue(new TriangularStochasticLaw(($1), ($2), ($3)))",
              imported = {StochasticGenerator.class, TriangularStochasticLaw.class})
      public static double random(double minX, double mode, double maxX) throws MathException {
          return StochasticGenerator.generateRandomValue(new TriangularStochasticLaw(minX, mode, maxX));
      }
docs: Replies a random value that respect
  the current stochastic law.
  
  @param minX is the lower bound where {@code f(minX) = 0}
  @param mode is the maxima point of the distribution {@code f(mode) = max(f(x))}
  @param maxX is the upper bound where {@code f(maxX) = 0}
  @return a value depending of the stochastic law parameters
  @throws MathException when math definition error.