imag

Retrieves the imaginary component of a complex class.

  template<class T> T imag(const complex<T>&);
  
Remarks

Returns the imaginary component of the argument.