std.mathspecial
Mathematical Special Functions
The technical term 'Special Functions' includes several families of transcendental functions, which have important applications in particular branches of mathematics and physics.
The gamma and related functions, and the error function are crucial for mathematical statistics. The Bessel and related functions arise in problems involving wave propagation (especially in optics). Other major categories of special functions include the elliptic integrals (related to the arc length of an ellipse), and the hypergeometric functions.
Status: Many more functions will be added to this module. The naming convention for the distribution functions (gammaIncomplete, etc) is not yet finalized and will probably change.
Functions 17
fn
real betaIncomplete(real a, real b, real x ) pure nothrow @safe @nogcRegularized incomplete beta function I(a,b) Mathematically, if a and b are positive real numbers, and 0 x 1, then I(a,b) = 0t(1-t, b-1)dt/B(a,b) where B is the beta function. It is also the c...fn
real betaIncompleteCompl(real a, real b, real x) pure nothrow @safe @nogcRegularized incomplete beta function complement IC(a,b) Mathematically, if a 0, b 0, and 0 x 1, then IC(a,b) = xt(1-t, b-1)dt/B(a,b) where B is the beta function. It is also the complement ...fn
real betaIncompleteInverse(real a, real b, real y ) pure nothrow @safe @nogcInverse of incomplete beta integralfn
real gammaIncomplete(real a, real x ) pure nothrow @safe @nogcRegularized lower incomplete gamma function P(a,x)fn
real gammaIncompleteCompl(real a, real x ) pure nothrow @safe @nogcRegularized upper incomplete gamma function Q(a,x)fn
real gammaIncompleteComplInverse(real a, real p) pure nothrow @safe @nogcInverse regularized upper incomplete gamma function Q-1(a,p) with respect to pfn
real normalDistributionInverse(real p) pure nothrow @safe @nogcInverse of Standard normal distribution function