Example usage for Java org.apache.commons.math3.distribution ExponentialDistribution fields, constructors, methods, implement or subclass
The text is from its open source code.
double | DEFAULT_INVERSE_ABSOLUTE_ACCURACY Default inverse cumulative probability accuracy. |
ExponentialDistribution(double mean, double inverseCumAccuracy) Create an exponential distribution with the given mean. | |
ExponentialDistribution(double mean) Create an exponential distribution with the given mean. | |
ExponentialDistribution(RandomGenerator rng, double mean, double inverseCumAccuracy) Creates an exponential distribution. |
void | reseedRandomGenerator(long seed) |
double | sample() Algorithm Description: this implementation uses the Inversion Method to generate exponentially distributed random values from uniform deviates. |