sourCEntral - mobile manpages

pdf

cacosh

NOM

cacosh, cacoshf, cacoshl - Fonction arc cosinus hyperbolique complexe

BIBLIOTHÈQUE

Bibliothèque de math (libm, -lm)

SYNOPSIS

#include <complex.h>

double complex cacosh(double complex z);
float complex cacoshf(float complex
z);
long double complex cacoshl(long double complex
z);

DESCRIPTION

Ces fonctions calculent la valeur complexe de l’arc cosinus hyperbolique de z. Si y = cacosh(z), alors z = ccosh(y). La partie imaginaire de y est choisie dans l’intervalle [-pi, pi]. La partie réelle de y est positive ou nulle.

On a :

cacosh(z) = 2 * clog(csqrt((z + 1) / 2) + csqrt((z - 1) / 2))

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).

img

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 = cacosh(z);
printf("cacosh() = %6.3f %6.3f*i\n", creal(c), cimag(c));

f = 2 * clog(csqrt((z + 1)/2) + csqrt((z - 1)/2));
printf(

exit(EXIT_SUCCESS);
}

VOIR AUSSI

acosh(3), cabs(3), ccosh(3), cimag(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 DOT rafin AT laposte DOT net>, Thierry Vignaud <tvignaud AT mandriva DOT com>, François Micaux, Alain Portal <aportal AT univ-montp2 DOT fr>, Jean-Philippe Guérard <fevrier AT tigreraye DOT org>, Jean-Luc Coulon (f5ibh) <jean-luc DOT coulon AT wanadoo DOT fr>, Julien Cristau <jcristau AT debian DOT org>, Thomas Huriaux <thomas DOT huriaux AT gmail DOT com>, Nicolas François <nicolas DOT francois AT centraliens DOT net>, Florentin Duneau <fduneau AT gmail DOT com>, Simon Paillard <simon DOT paillard AT resel DOT enst-bretagne DOT fr>, Denis Barbier <barbier AT debian DOT org> et David Prévot <david AT tilapin DOT 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 à debian-l10n-french.

pdf