Maxima Function
carg (z)
Returns the complex argument of z.
The complex argument is an angle theta in (-%pi, %pi]
such that r exp (theta %i) = z where r is the magnitude of z.
carg is a computational function,
not a simplifying function.
carg ignores the declaration declare (x, complex),
and treats x as a real variable.
This is a bug.
See also (complex magnitude), , ,
realpart, and imagpart.
Examples: