abs

Determines the absolute value of a complex class.

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

Returns the absolute value of the complex class argument.