|
libstdc++
|
Template to represent complex numbers.
Specializations for float, double, and long double are part of the library. Results with any other type are not guaranteed.
| Tp | Type of real and imaginary values. |
| typedef _Tp std::complex< _Tp >::value_type |
| constexpr std::complex< _Tp >::complex | ( | const _Tp & | __r = _Tp(), |
| const _Tp & | __i = _Tp() |
||
| ) | [inline] |
| constexpr std::complex< _Tp >::complex | ( | const complex< _Up > & | __z | ) | [inline] |
| complex<_Tp>& std::complex< _Tp >::operator+= | ( | const _Tp & | __t | ) | [inline] |
| complex<_Tp>& std::complex< _Tp >::operator-= | ( | const _Tp & | __t | ) | [inline] |