Difference between revisions of "cpp/experimental/special functions"
From cppreference.com
< cpp | experimental
(note that it's in the standard) |
Andreas Krug (Talk | contribs) m (http -> https) |
||
(14 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
− | {{title| | + | {{title|Mathematical special functions}} |
− | {{cpp/experimental/ | + | {{cpp/experimental/special_functions/navbar}} |
− | {{fmbox | class=noprint | style=font-size: 0.8em | text='''Merged into ISO C++''' The functionality described on this page was merged into the mainline ISO C++ standard as of 3/2016, see | + | {{fmbox|class=noprint|style=font-size: 0.8em|text='''Merged into ISO C++''' The functionality described on this page was merged into the mainline ISO C++ standard as of 3/2016, see [[cpp/numeric/special_functions|mathematical special functions]] {{mark since c++17}}}} |
− | The | + | 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 library | + | This special functions in this library are implemented in [https://www.boost.org/doc/libs/release/libs/math/doc/html/special.html 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. |
===Non-member functions=== | ===Non-member functions=== | ||
{{dsc begin}} | {{dsc begin}} | ||
{{dsc header|cmath}} | {{dsc header|cmath}} | ||
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc assoc_laguerre}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc assoc_legendre}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc beta}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc comp_ellint_1}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc comp_ellint_2}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc comp_ellint_3}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc cyl_bessel_i}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc cyl_bessel_j}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc cyl_bessel_k}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc cyl_neumann}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc ellint_1}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc ellint_2}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc ellint_3}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc expint}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc hermite}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc legendre}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc laguerre}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc riemann_zeta}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc sph_bessel}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc sph_legendre}} |
− | {{dsc inc | cpp/experimental/ | + | {{dsc inc|cpp/experimental/special_functions/dsc sph_neumann}} |
{{dsc end}} | {{dsc end}} | ||
+ | |||
===Macros=== | ===Macros=== | ||
{{dsc begin}} | {{dsc begin}} | ||
− | {{dsc macro const | __STDCPP_MATH_SPEC_FUNCS__ | nolink=true | a value of at least {{c|201003L}} indicates that ISO/IEC | + | {{dsc macro const|__STDCPP_MATH_SPEC_FUNCS__|nolink=true|a value of at least {{c|201003L}} indicates that ISO/IEC 29124:2010 is supported}} |
{{dsc end}} | {{dsc end}} | ||
+ | |||
+ | {{langlinks|zh}} |
Latest revision as of 10:33, 11 September 2023
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
<cmath> | |
associated Laguerre polynomials (function) | |
associated Legendre polynomials (function) | |
beta function (function) | |
(complete) elliptic integral of the first kind (function) | |
(complete) elliptic integral of the second kind (function) | |
(complete) elliptic integral of the third kind (function) | |
regular modified cylindrical Bessel functions (function) | |
cylindrical Bessel functions (of the first kind) (function) | |
irregular modified cylindrical Bessel functions (function) | |
cylindrical Neumann functions (function) | |
(incomplete) elliptic integral of the first kind (function) | |
(incomplete) elliptic integral of the second kind (function) | |
(incomplete) elliptic integral of the third kind (function) | |
exponential integral (function) | |
Hermite polynomials (function) | |
Legendre polynomials (function) | |
Laguerre polynomials (function) | |
Riemann zeta function (function) | |
spherical Bessel functions (of the first kind) (function) | |
spherical associated Legendre functions (function) | |
spherical Neumann functions (function) |
[edit] Macros
__STDCPP_MATH_SPEC_FUNCS__ |
a value of at least 201003L indicates that ISO/IEC 29124:2010 is supported (macro constant) |