Scroll to navigation

CATANH(3) Manuel du programmeur Linux CATANH(3)

NOM

catanh, catanhf, catanhl - Fonction arc tangente hyperbolique complexe

SYNOPSIS

#include <complex.h>
double complex catanh(double complex z);
 
float complex catanhf(float complex z);
 
long double complex catanhl(long double complex z);
Effectuez l'édition des liens avec l'option -lm.

DESCRIPTION

La fonction catanh() calcule l'arc tangente hyperbolique complexe de z. Si y = catanh(z), alors z = ctanh(y). La partie imaginaire de y est choisie dans l'intervalle [-pi/2, pi/2].
On a :
catanh(z) = 0.5 * (clog(1 + z) - clog(1 - z))

VERSIONS

Ces fonctions ont été introduites dans la glibc dans sa version 2.1.

CONFORMITÉ

C99.

EXEMPLE

Effectuez l'édition des liens avec l'option « -lm ».
#include <complex.h> #include <stdlib.h> #include <unistd.h> #include <stdio.h>
int main(int argc, char *argv[]) { double complex z, c, f;
if (argc != 3) { fprintf(stderr, "Utilisation : %s <reel> <imag>\n", argv[0]); exit(EXIT_FAILURE); }
z = atof(argv[1]) + atof(argv[2]) * I;
c = catanh(z); printf("catanh() = %6.3f %6.3f*i\n", creal(c), cimag(c));
f = 0.5 * (clog(1 + z) - clog(1 - z)); printf("formule = %6.3f %6.3f*i\n", creal(f2), cimag(f2));
exit(EXIT_SUCCESS); }

VOIR AUSSI

atanh(3), cabs(3), cimag(3), ctanh(3), complex(7)

COLOPHON

Cette page fait partie de la publication 3.65 du projet man-pages Linux. Une description du projet et des instructions pour signaler des anomalies peuvent être trouvées à l'adresse http://www.kernel.org/doc/man-pages/.

TRADUCTION

Depuis 2010, cette traduction est maintenue à l'aide de l'outil po4a <http://po4a.alioth.debian.org/> par l'équipe de traduction francophone au sein du projet perkamon <http://perkamon.alioth.debian.org/>.
Christophe Blaess <http://www.blaess.fr/christophe/> (1996-2003), Alain Portal <http://manpagesfr.free.fr/> (2003-2006). Florentin Duneau et l'équipe francophone de traduction de Debian (2006-2009).
Veuillez signaler toute erreur de traduction en écrivant à <debian-l10n-french@lists.debian.org> ou par un rapport de bogue sur le paquet manpages-fr.
Vous pouvez toujours avoir accès à la version anglaise de ce document en utilisant la commande «  man -L C <section>  <page_de_man> ».
15 septembre 2011