List of all members.
Public Types
Public Member Functions
Detailed Description
template<typename _Tp>
struct std::complex< _Tp >
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.
- Parameters:
-
| Tp | Type of real and imaginary values. |
Definition at line 124 of file complex.
Member Typedef Documentation
Value typedef.
Definition at line 127 of file complex.
Constructor & Destructor Documentation
template<typename _Tp>
constexpr std::complex< _Tp >::complex |
( |
const _Tp & |
__r = _Tp() , |
|
|
const _Tp & |
__i = _Tp() | |
|
) |
| | [inline] |
Default constructor. First parameter is x, second parameter is y. /// Unspecified parameters default to 0.
Definition at line 131 of file complex.
template<typename _Tp>
template<typename _Up >
Copy constructor.
Definition at line 138 of file complex.
Member Function Documentation
Add t to this complex number.
Definition at line 181 of file complex.
Subtract t from this complex number.
Definition at line 190 of file complex.
The documentation for this struct was generated from the following file: