sourCEntral - mobile manpages

pdf

CACOSH

BEZEICHNUNG

cacosh, cacoshf, cacoshl − komplexer Areakosinus Hyperbolicus

ÜBERSICHT

#include <complex.h>

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

Linken Sie mit der Option −lm.

BESCHREIBUNG

Die Funktion cacosh() berechnet den komplexen Areakosinus Hyperbolicus von z. Falls y = cacosh(z), ist z = ccosh(y). Als Imaginärteil von y wird ein Wert aus dem Intervall [−Pi,Pi] gewählt. Der Realteil von y wird nichtnegativ gewählt.

Es gilt:

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

VERSIONEN

Diese Funktionen kamen erstmals in Glibc 2.1 vor.

KONFORM ZU

C99.

BEISPIEL

/* Linken Sie mit der 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, "Aufruf: %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("Formel = %6.3f %6.3f*i\n", creal(f2), cimag(f2));

exit(EXIT_SUCCESS);
}

SIEHE AUCH

acosh(3), cabs(3), ccosh(3), cimag(3), complex(7)

KOLOPHON

Diese Seite ist Teil der Veröffentlichung 3.52 des Projekts Linux−man−pages. Eine Beschreibung des Projekts und Informationen, wie Fehler gemeldet werden können, finden sich unter http://www.kernel.org/doc/man−pages/.

ÜBERSETZUNG

Die deutsche Übersetzung dieser Handbuchseite wurde von Martin Eberhard Schauer <Martin DOT E DOT Schauer AT gmx DOT de> erstellt.

Diese Übersetzung ist Freie Dokumentation; lesen Sie die GNU General Public License Version 3 oder neuer bezüglich der Copyright-Bedingungen. Es wird KEINE HAFTUNG übernommen.

Wenn Sie Fehler in der Übersetzung dieser Handbuchseite finden, schicken Sie bitte eine E-Mail an <debian-l10n-german AT lists DOT debian DOT org>.

pdf