GeneralizedGammaSPDF

Generalized gamma PDF

struct GeneralizedGammaSPDF (
T
) if (
isFloatingPoint!T
) {}

Constructors

this
this(T shape, T power, T scale)

Members

Functions

opCall
T opCall(T x)

Examples

auto pdf = GeneralizedGammaSPDF!double(3, 2, 0.5);
auto x = pdf(0.1);
assert(x.isNormal);

import scid.calculus : integrate;
auto result = pdf.integrate(-double.infinity, double.infinity);
assert(fabs(result.value - 1) < result.error);

Meta