GammaDistribution class
Samples from a Gamma(shape, scale) distribution via Marsaglia and Tsang's method (shape >= 1) or Johnk's algorithm (shape < 1).
Constructors
- GammaDistribution(double shape, double scale)
-
const
Properties
Methods
-
nextDouble(
) → double - Draws the next sample from this distribution.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
randomIndex(
int upperLimit) → int -
A uniform random index in
[0, upperLimit). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited