Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/numeric/special functions"

From cppreference.com
< cpp‎ | numeric
(See-also link to "special member functions", which people searching for 'special' functions would more likely be looking for)
({{dsc see cpp}} shouldn't be here. Move to notes.)
Line 34: Line 34:
 
===Notes===
 
===Notes===
 
Overloads for math special functions are present in the final draft of ISO/IEC 29124:2010 ({{wg21|N3060}}), but absent in C++17/20 standard. These overloads are not provided by some implementations. We intendedly consider the missing of these overloads a defect in C++17/20. See also {{lwg|3234}}.
 
Overloads for math special functions are present in the final draft of ISO/IEC 29124:2010 ({{wg21|N3060}}), but absent in C++17/20 standard. These overloads are not provided by some implementations. We intendedly consider the missing of these overloads a defect in C++17/20. See also {{lwg|3234}}.
 +
 +
These functions are unrelated to [[cpp/language/member functions#Special member functions|special member functions]].
  
 
===References===
 
===References===
Line 42: Line 44:
 
{{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}}
 
===See also===
 
{{dsc begin}}
 
{{dsc see cpp | cpp/language/member_functions#Special_member_functions | nomono=true | Special member functions}}
 
{{dsc end}}
 
  
 
{{langlinks|es|ja|zh}}
 
{{langlinks|es|ja|zh}}

Revision as of 09:05, 30 December 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>
associated Laguerre polynomials
(function) [edit]
associated Legendre polynomials
(function) [edit]
(C++17)(C++17)(C++17)
beta function
(function) [edit]
(complete) elliptic integral of the first kind
(function) [edit]
(complete) elliptic integral of the second kind
(function) [edit]
(complete) elliptic integral of the third kind
(function) [edit]
regular modified cylindrical Bessel functions
(function) [edit]
cylindrical Bessel functions (of the first kind)
(function) [edit]
irregular modified cylindrical Bessel functions
(function) [edit]
cylindrical Neumann functions
(function) [edit]
(C++17)(C++17)(C++17)
(incomplete) elliptic integral of the first kind
(function) [edit]
(C++17)(C++17)(C++17)
(incomplete) elliptic integral of the second kind
(function) [edit]
(C++17)(C++17)(C++17)
(incomplete) elliptic integral of the third kind
(function) [edit]
(C++17)(C++17)(C++17)
exponential integral
(function) [edit]
(C++17)(C++17)(C++17)
Hermite polynomials
(function) [edit]
(C++17)(C++17)(C++17)
Legendre polynomials
(function) [edit]
(C++17)(C++17)(C++17)
Laguerre polynomials
(function) [edit]
Riemann zeta function
(function) [edit]
spherical Bessel functions (of the first kind)
(function) [edit]
spherical associated Legendre functions
(function) [edit]
spherical Neumann functions
(function) [edit]

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 consider the missing of these overloads a defect in C++17/20. See also LWG issue 3234.

These functions are unrelated to special member functions.

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]