Example usage for Java org.apache.commons.math3.distribution GammaDistribution fields, constructors, methods, implement or subclass
The text is from its open source code.
double | DEFAULT_INVERSE_ABSOLUTE_ACCURACY Default inverse cumulative probability accuracy. |
GammaDistribution(double shape, double scale, double inverseCumAccuracy) Creates a new gamma distribution with specified values of the shape and scale parameters. | |
GammaDistribution(double shape, double scale) Creates a new gamma distribution with specified values of the shape and scale parameters. | |
GammaDistribution(RandomGenerator rng, double shape, double scale, double inverseCumAccuracy) Creates a Gamma distribution. |
double | cumulativeProbability(double x) The implementation of this method is based on:
|
double | density(double x) |
double | sample() This implementation uses the following algorithms: For 0 < shape < 1: |