GeneralizedInverseGaussianPDF

Generalized inverse Gaussian PDF

final
class GeneralizedInverseGaussianPDF : PDF!T(
T
) if (
isFloatingPoint!T
) {}

Constructors

this
this(T lambda, T chi, T psi)

Examples

1 auto pdf = new GeneralizedInverseGaussianPDF!double(3, 2, 1);
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