InverseGaussianSPDF

Inverse Gaussian PDF

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

Constructors

this
this(T chi, T psi)

Members

Functions

opCall
T opCall(T x)

Examples

1 auto pdf = InverseGaussianSPDF!double(3, 2);
2 auto x = pdf(0.1);
3 assert(x.isNormal);
4 
5 import scid.calculus : integrate;
6 auto result = pdf.integrate(-double.infinity, double.infinity);
7 assert(fabs(result.value - 1) < result.error);

See Also

Meta