1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
.\" Japanese Version Copyright (c) 2003 Akihiro MOTOKI
.\" all rights reserved.
.\" Translated Thu Jul 24 01:30:12 JST 2003
.\" by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\"
.\"WORD: argument (˺ɸ)г
.\"WORD: coordinates ɸ
.\"WORD: rectangular coordinates ľɸ
.\"WORD: polar coordinates ˺ɸ
.\"
.TH CARG 3 2002-07-28 "" "complex math routines"
.SH ̾
carg, cargf, cargl \- ʣǿгѤ
.SH
.B #include <complex.h>
.sp
.BI "double carg(double complex " z ");"
.br
.BI "float cargf(float complex " z ");"
.br
.BI "long double cargl(long double complex " z ");"
.sp
\-lm ǥ롣
.SH
ʣǿ 2Ĥμ¿ͤʤɸɽȤǤ롣
ľɸȤäơ z = x+I*y ȽȤǤ롣
ΤȤ x = creal(z), y = cimag(z) Ǥ롣
.LP
ޤ˺ɸȤäơ z = r*cexp(I*a) ȽȤǤ롣
r = cabs(z) ϡȾ¡סַפȸƤФ졢 z ͤǤ롣
a = carg(z) ϡְѡפȤ z гѤǤ롣
.LP
δط: carg(z) = atan(creal(z) / cimag(z))
.SH ֤
֤ͤ [-pi,pi] ϰϤǤ롣
.SH
C99
.SH Ϣ
.BR cabs (3),
.BR complex (5)
|