Class UniformDistribution

    • Constructor Detail

      • UniformDistribution

        public UniformDistribution​(double lower,
                                   double upper)
                            throws org.apache.commons.math3.exception.NumberIsTooLargeException
        Create a uniform real distribution using the given lower and upper bounds.
        Parameters:
        lower - Lower bound of this distribution (inclusive).
        upper - Upper bound of this distribution (exclusive).
        Throws:
        org.apache.commons.math3.exception.NumberIsTooLargeException - if lower >= upper.