The OpenD Programming Language

gammaCCDF

Computes the gamma complementary cumulative distribution function (CCDF).

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

Parameters

x T

value to evaluate CCDF

shape T

shape parameter

scale T

scale parameter

Examples

import mir.test: shouldApprox;

2.0.gammaCCDF(5).shouldApprox == 0.947347;
1.0.gammaCCDF(5, 0.5).shouldApprox == 0.947347;

See Also

Meta