catanh

Section: C Library Functions (3)
Updated: 15 décembre 2022
Index Return to Main Contents
 

NOM

catanh, catanhf, catanhl - Fonction arc tangente hyperbolique complexe  

BIBLIOTHÈQUE

Bibliothèque de math (libm, -lm)  

SYNOPSIS

#include <complex.h>

double complex catanh(double complex z);
float complex catanhf(float complex z);
long double complex catanhl(long double complex z);
 

DESCRIPTION

Ces fonctions calculent 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é ajoutées dans la glibc 2.1.  

ATTRIBUTS

Pour une explication des termes utilisés dans cette section, consulter attributes(7).
InterfaceAttributValeur
catanh(), catanhf(), catanhl() Sécurité des threadsMT-Safe

 

STANDARDS

C99, POSIX.1-2001, POSIX.1-2008.  

EXEMPLES

/* Éditez les liens avec -lm. */

#include <complex.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h>

int main(int argc, char *argv[]) {
    double complex z, c, f;


    if (argc != 3) {
        fprintf(stderr, "Utilisation : %s <real> <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(


    exit(EXIT_SUCCESS); }  

VOIR AUSSI

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

 

TRADUCTION

La traduction française de cette page de manuel a été créée par Christophe Blaess <https://www.blaess.fr/christophe/>, Stéphan Rafin <stephan.rafin@laposte.net>, Thierry Vignaud <tvignaud@mandriva.com>, François Micaux, Alain Portal <aportal@univ-montp2.fr>, Jean-Philippe Guérard <fevrier@tigreraye.org>, Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>, Julien Cristau <jcristau@debian.org>, Thomas Huriaux <thomas.huriaux@gmail.com>, Nicolas François <nicolas.francois@centraliens.net>, Florentin Duneau <fduneau@gmail.com>, Simon Paillard <simon.paillard@resel.enst-bretagne.fr>, Denis Barbier <barbier@debian.org> et David Prévot <david@tilapin.org>

Cette traduction est une documentation libre ; veuillez vous reporter à la GNU General Public License version 3 concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.

Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à


 

Index

NOM
BIBLIOTHÈQUE
SYNOPSIS
DESCRIPTION
VERSIONS
ATTRIBUTS
STANDARDS
EXEMPLES
VOIR AUSSI
TRADUCTION

This document was created by man2html, using the manual pages.
Time: 15:50:51 GMT, May 22, 2024