The OpenD Programming Language

gammaInvCDF

Computes the gamma inverse cumulative distribution function (InvCDF).

@safe pure nothrow @nogc
T
gammaInvCDF
(
T
)
(
const T p
,
const T shape
,
const T scale = 1
)
if (
isFloatingPoint!T
)

Parameters

p T

value to evaluate InvCDF

shape T

shape parameter

scale T

scale parameter

Examples

import mir.test: shouldApprox;

0.05.gammaInvCDF(5).shouldApprox == 1.97015;
0.05.gammaInvCDF(5, 0.5).shouldApprox == 0.9850748;

See Also

Meta