The complex library implements the complex class to contain complex numbers in cartesian form and several functions and overloads to operate with them:
Classes
Functions
Complex values:
Classes
- complex Complex number class (class template)
Functions
Complex values:
- real Return real part of complex (function template)
- imag Return imaginary part of complex (function template)
- abs Return absolute value of complex (function template)
- arg Return phase angle of complex (function template )
- norm Return norm of complex number (function template)
- conj Return complex conjugate (function template)
- polar Return complex from polar components (function template )
Transcendentals overloads:
- cos Return cosine of complex (function template)
- cosh Return hyperbolic cosine of complex (function template)
- exp Return exponential of complex (function template)
- log Return natural logarithm of complex (function template)
- log10 Return common logarithm of complex (function template)
- pow Return complex power (function template)
- sin Return sine of complex (function template)
- sinh Return hyperbolic sine of complex (function template)
- sqrt Return square root of complex (function template)
- tan Return tangent of complex (function template)
- tanh Return hyperbolic tangent of complex (function template)
Operator overloads:
- complex operators Complex number operators (functions)