| Common mathematical functions | |||||||||||||||||||||||||||||||
| Mathematical special functions(C++17) | |||||||||||||||||||||||||||||||
| Mathematical constants(C++20) | |||||||||||||||||||||||||||||||
| Basic linear algebra algorithms(C++26) | |||||||||||||||||||||||||||||||
| Data-parallel types (SIMD)(C++26) | |||||||||||||||||||||||||||||||
| Floating-point environment(C++11) | |||||||||||||||||||||||||||||||
| Complex numbers | |||||||||||||||||||||||||||||||
Numeric array (valarray) | |||||||||||||||||||||||||||||||
| Pseudo-random number generation | |||||||||||||||||||||||||||||||
| Bit manipulation(C++20) | |||||||||||||||||||||||||||||||
| Saturation arithmetic(C++26) | |||||||||||||||||||||||||||||||
| Factor operations | |||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||
| Interpolations | |||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||
| Generic numeric operations | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| C-style checked integer arithmetic | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| Member functions | ||||||||||||||||||||||||||
| Non-member functions | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| Exponential functions | ||||||||||||||||||||||||||
| Power functions | ||||||||||||||||||||||||||
| Trigonometric functions | ||||||||||||||||||||||||||
| Hyperbolic functions | ||||||||||||||||||||||||||
| Helper types | ||||||||||||||||||||||||||
(C++26) | ||||||||||||||||||||||||||
(C++26) | ||||||||||||||||||||||||||
| (1) | ||
template<class T> std::complex<T> operator+(conststd::complex<T>& val); | (until C++20) | |
template<class T> constexprstd::complex<T> operator+(conststd::complex<T>& val); | (since C++20) | |
| (2) | ||
template<class T> std::complex<T> operator-(conststd::complex<T>& val); | (until C++20) | |
template<class T> constexprstd::complex<T> operator-(conststd::complex<T>& val); | (since C++20) | |
Implements the analogs of the unary arithmetic operators for complex numbers.
| val | - | the complex number argument |
| performs complex number arithmetic on two complex values or a complex and a scalar (function template)[edit] |