The functions described in this chapter provide support for complex numbers. The algorithms take care to avoid unnecessary intermediate underflows and overflows, allowing the functions to be evaluated over as much of the complex plane as possible.
For multiple-valued functions the branch cuts have been chosen to follow the conventions of Abramowitz and Stegun in the Handbook of Mathematical Functions. The functions return principal values which are the same as those in GNU Calc, which in turn are the same as those in Common Lisp, The Language (Second Edition)7 and the HP-28/48 series of calculators.
The complex types are defined in the header file gsl_complex.h, while the corresponding complex functions and arithmetic operations are defined in gsl_complex_math.h.
|• Representation of complex numbers:|
|• Properties of complex numbers:|
|• Complex arithmetic operators:|
|• Elementary Complex Functions:|
|• Complex Trigonometric Functions:|
|• Inverse Complex Trigonometric Functions:|
|• Complex Hyperbolic Functions:|
|• Inverse Complex Hyperbolic Functions:|
|• Complex Number References and Further Reading:|
Note that the first edition uses different definitions.