Java org.apache.commons.math3.distribution GammaDistribution fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.distribution GammaDistribution fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.distribution GammaDistribution.

The text is from its open source code.

Field

doubleDEFAULT_INVERSE_ABSOLUTE_ACCURACY
Default inverse cumulative probability accuracy.

Constructor

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.

Method

doublecumulativeProbability(double x)
The implementation of this method is based on:
doubledensity(double x)
doublesample()

This implementation uses the following algorithms:

For 0 < shape < 1:
Ahrens, J.