C in a Nutshell (In a Nutshell (OReilly))

catanh

Calculates the inverse hyperbolic tangent of a complex number

#include <complex.h> double complex catanh ( double complex z ); float complex catanhf ( float complex z ); long double complex catanhl ( double long complex z );

The catanh( ) functions return the number whose hyperbolic tangent is equal to their argument z. The imaginary part of the return value is in the interval [-p/2 x i, p/2 x i].

Example

See the example for catan( ) in this chapter.

See Also

Other hyperbolic trigonometry functions for complex numbers: casinh( ), cacosh( ), csinh( ), ccosh( ), and ctanh( ); the hyperbolic tangent and inverse hyperbolic tangent functions for real numbers: tanh( ) and atanh( )

Категории