UniformRealDistribution extends AbstractRealDistribution { @Override public double inverseCumulativeProbability(final double p) throws OutOfRangeException { if (p < 0.0 || p > 1.0) { throw new OutOfRangeException(p, 0, 1); } return p * (upper - lower) + lower; } UniformRealDistribution();  UniformRealDistribution(double lower, double upper); @Deprecated  UniformRealDistribution(double lower, double upper, double inverseCumAccuracy); @Deprecated  UniformRealDistribution(RandomGenerator rng,
                                   double lower,
                                   double upper,
                                   double inverseCumAccuracy);  UniformRealDistribution(RandomGenerator rng,
                                   double lower,
                                   double upper); double density(double x); double cumulativeProbability(double x); @Override double inverseCumulativeProbability(final double p); double getNumericalMean(); double getNumericalVariance(); double getSupportLowerBound(); double getSupportUpperBound(); boolean isSupportLowerBoundInclusive(); boolean isSupportUpperBoundInclusive(); boolean isSupportConnected(); @Override double sample(); @Deprecated
    static final double DEFAULT_INVERSE_ABSOLUTE_ACCURACY; }
@Test public void testInverseCumulativeDistribution() { UniformRealDistribution dist = new UniformRealDistribution(0, 1e-9); Assert.assertEquals(2.5e-10, dist.inverseCumulativeProbability(0.25), 0); }