Prototypes | Header File(s) | |
RWMathVec<double> |
arg(const RWMathVec<DComplex>&) |
<rw/math/mathvec.h> |
RWGenMat<double> |
arg(const RWGenMat<DComplex>&) |
<rw/math/genmat.h> |
RWMathArray<double> |
arg(const RWMathArray<DComplex>&) |
<rw/math/mtharray.h> |
Returns the arguments ai (in radians) of x in the range
-< ai , where ai = tan-1[Im(xi)/Re(xi)]. Multiple valued functions of complex arguments, such as sqrt() and log(), are therefore constrained to their principle value.