The complex library implements the complex class to contain complex numbers in cartesian form and several functions and overloads to operate with them: 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 (func...
Learn C++ Programming fast and easy, find C++ Program Codes