One has carg(z) = atan(creal(z) / cimag(z))
to:
     One has carg(z) = atan(cimag(z) / creal(z))
This commit is contained in:
Michael Kerrisk 2005-09-19 14:08:50 +00:00
parent 58d323a7f7
commit 52850de794
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ Or one may use polar coordinates and gets z = r*cexp(I*a)
where r = cabs(z) is the "radius", the "modulus", the absolute value of z,
and a = carg(z) is the "phase angle", the argument of z.
.LP
One has carg(z) = atan(creal(z) / cimag(z)).
One has carg(z) = atan(cimag(z) / creal(z)).
.SH "RETURN VALUE"
The return value is the range of [\-pi,pi].
.SH "CONFORMING TO"