Mathematical special functions - cppreference.com (original) (raw)

Mathematical special functions

Merged into ISO C++ The functionality described on this page was merged into the mainline ISO C++ standard as of 3/2016, see mathematical special functions (since C++17)

The Mathematical Special Functions library, ISO/IEC 29124:2010, specifies extensions to the C++ standard library that include mathematical special functions (originally part of ISO/IEC TR 19768:2007).

This special functions in this library are implemented in boost.math, which is currently available on more compilers and platforms than implementations of this standard. At the time of this writing (1/2016) the only compiler that announced direct support is gcc, for version 6.1.

[edit] Non-member functions

Defined in header
assoc_laguerreassoc_laguerrefassoc_laguerrel associated Laguerre polynomials (function) [edit]
assoc_legendreassoc_legendrefassoc_legendrel associated Legendre polynomials (function) [edit]
betabetafbetal beta function (function) [edit]
comp_ellint_1comp_ellint_1fcomp_ellint_1l (complete) elliptic integral of the first kind (function) [edit]
comp_ellint_2comp_ellint_2fcomp_ellint_2l (complete) elliptic integral of the second kind (function) [edit]
comp_ellint_3comp_ellint_3fcomp_ellint_3l (complete) elliptic integral of the third kind (function) [edit]
cyl_bessel_icyl_bessel_ifcyl_bessel_il regular modified cylindrical Bessel functions (function) [edit]
cyl_bessel_jcyl_bessel_jfcyl_bessel_jl cylindrical Bessel functions (of the first kind) (function) [edit]
cyl_bessel_kcyl_bessel_kfcyl_bessel_kl irregular modified cylindrical Bessel functions (function) [edit]
cyl_neumanncyl_neumannfcyl_neumannl cylindrical Neumann functions (function) [edit]
ellint_1ellint_1fellint_1l (incomplete) elliptic integral of the first kind (function) [edit]
ellint_2ellint_2fellint_2l (incomplete) elliptic integral of the second kind (function) [edit]
ellint_3ellint_3fellint_3l (incomplete) elliptic integral of the third kind (function) [edit]
expintexpintfexpintl exponential integral (function) [edit]
hermitehermitefhermitel Hermite polynomials (function) [edit]
legendrelegendreflegendrel Legendre polynomials (function) [edit]
laguerrelaguerreflaguerrel Laguerre polynomials (function) [edit]
riemann_zetariemann_zetafriemann_zetal Riemann zeta function (function) [edit]
sph_besselsph_besselfsph_bessell spherical Bessel functions (of the first kind) (function) [edit]
sph_legendresph_legendrefsph_legendrel spherical associated Legendre functions (function) [edit]
sph_neumannsph_neumannfsph_neumannl spherical Neumann functions (function) [edit]

[edit] Macros

__STDCPP_MATH_SPEC_FUNCS__ a value of at least 201003L indicates that ISO/IEC 29124:2010 is supported (macro constant)