Difference between revisions of "cpp/numeric/special functions"
From cppreference.com
(LWG 3234 (not resolved)) |
m (→References: typo) |
||
Line 39: | Line 39: | ||
{{ref std | section=26.8.6 | title=Mathematical special functions | id=sf.cmath}} | {{ref std | section=26.8.6 | title=Mathematical special functions | id=sf.cmath}} | ||
{{ref std end}} | {{ref std end}} | ||
− | {{ref std | + | {{ref std c++17}} |
{{ref std | section=29.9.5 | title=Mathematical special functions | id=sf.cmath}} | {{ref std | section=29.9.5 | title=Mathematical special functions | id=sf.cmath}} | ||
{{ref std end}} | {{ref std end}} |
Revision as of 04:40, 23 October 2020
The Mathematical Special Functions library was originally part of Library TR1 ISO/IEC TR 19768:2007, then published as an independent ISO standard, ISO/IEC 29124:2010, and finally merged to ISO C++ as of C++17.
See Mathematical special functions for the ISO/IEC 29124:2010 version of this library.
Functions
Defined in header
<cmath> | |
(C++17)(C++17)(C++17) |
associated Laguerre polynomials (function) |
(C++17)(C++17)(C++17) |
associated Legendre polynomials (function) |
(C++17)(C++17)(C++17) |
beta function (function) |
(C++17)(C++17)(C++17) |
(complete) elliptic integral of the first kind (function) |
(C++17)(C++17)(C++17) |
(complete) elliptic integral of the second kind (function) |
(C++17)(C++17)(C++17) |
(complete) elliptic integral of the third kind (function) |
(C++17)(C++17)(C++17) |
regular modified cylindrical Bessel functions (function) |
(C++17)(C++17)(C++17) |
cylindrical Bessel functions (of the first kind) (function) |
(C++17)(C++17)(C++17) |
irregular modified cylindrical Bessel functions (function) |
(C++17)(C++17)(C++17) |
cylindrical Neumann functions (function) |
(C++17)(C++17)(C++17) |
(incomplete) elliptic integral of the first kind (function) |
(C++17)(C++17)(C++17) |
(incomplete) elliptic integral of the second kind (function) |
(C++17)(C++17)(C++17) |
(incomplete) elliptic integral of the third kind (function) |
(C++17)(C++17)(C++17) |
exponential integral (function) |
(C++17)(C++17)(C++17) |
Hermite polynomials (function) |
(C++17)(C++17)(C++17) |
Legendre polynomials (function) |
(C++17)(C++17)(C++17) |
Laguerre polynomials (function) |
(C++17)(C++17)(C++17) |
Riemann zeta function (function) |
(C++17)(C++17)(C++17) |
spherical Bessel functions (of the first kind) (function) |
(C++17)(C++17)(C++17) |
spherical associated Legendre functions (function) |
(C++17)(C++17)(C++17) |
spherical Neumann functions (function) |
Notes
Overloads for math special functions are present in the final draft of ISO/IEC 29124:2010 (N3060), but absent in C++17/20 standard. These overloads are not provided by some implementations. We intendedly treat the missing of these overload is a defect in C++17/20. See also LWG issue 3234.
References
- C++20 standard (ISO/IEC 14882:2020):
- 26.8.6 Mathematical special functions [sf.cmath]
- C++17 standard (ISO/IEC 14882:2017):
- 29.9.5 Mathematical special functions [sf.cmath]