- publishing free software manuals
GNU Scientific Library Reference Manual - Third Edition (v1.12)
by M. Galassi, J. Davies, J. Theiler, B. Gough, G. Jungman, P. Alken, M. Booth, F. Rossi
Paperback (6"x9"), 592 pages, 60 figures
ISBN 0954612078
RRP £24.95 ($39.95)

Get a printed copy>>>

5.2 Properties of complex numbers

Function: double gsl_complex_arg (gsl_complex z)
This function returns the argument of the complex number z, \arg(z), where -\pi < \arg(z) <= \pi.
Function: double gsl_complex_abs (gsl_complex z)
This function returns the magnitude of the complex number z, |z|.
Function: double gsl_complex_abs2 (gsl_complex z)
This function returns the squared magnitude of the complex number z, |z|^2.
Function: double gsl_complex_logabs (gsl_complex z)
This function returns the natural logarithm of the magnitude of the complex number z, \log|z|. It allows an accurate evaluation of \log|z| when |z| is close to one. The direct evaluation of log(gsl_complex_abs(z)) would lead to a loss of precision in this case.
ISBN 0954612078GNU Scientific Library Reference Manual - Third Edition (v1.12)See the print edition