gammaDistribution(
parameters):GammaDistribution
Defined in: packages/distribution/src/gamma-distribution.ts:30
Create a gamma distribution with the given shape and rate. Each rejection draw consumes a variable number of 32-bit words. Shapes below one use a log-space boost. A positive draw beneath binary64’s range rounds to the smallest positive double.
Parameters
Section titled “Parameters”parameters
Section titled “parameters”Returns
Section titled “Returns”Throws
Section titled “Throws”With INVALID_PARAMETER for an unsupported shape or rate.