catanh, catanhf, catanhl - complex arc tangents hyperbolic


   #include <complex.h>

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

   Link with -lm.


   These  functions calculate the complex arc hyperbolic tangent of z.  If
   y = catanh(z), then z = ctanh(y).  The imaginary part of y is chosen in
   the interval [-pi/2,pi/2].

   One has:

       catanh(z) = 0.5 * (clog(1 + z) - clog(1 - z))


   These functions first appeared in glibc in version 2.1.


   For   an   explanation   of   the  terms  used  in  this  section,  see

   Interface                       Attribute      Value   
   catanh(), catanhf(), catanhl()  Thread safety  MT-Safe 


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


   /* Link with "-lm" */

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

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

       if (argc != 3) {
           fprintf(stderr, "Usage: %s <real> <imag>\n", argv[0]);

       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("formula  = %6.3f %6.3f*i\n", creal(f2), cimag(f2));



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


   This page is part of release 4.09 of the Linux  man-pages  project.   A
   description  of  the project, information about reporting bugs, and the
   latest    version    of    this    page,    can     be     found     at

                              2015-04-19                         CATANH(3)

More Linux Commands

stat(2) - get file status (System calls - Linux man page)...
These functions return information about a file, in the buffer pointed to by stat. No permissions are required on the file itself, but-in the case of stat(), fs

sync(8) - synchronize data on disk with memory (Man Page)...
sync writes any data buffered in memory out to disk. This can include (but is not limited to) modified superblocks, modified inodes, and delayed reads and write

SDL_PushEvent(3) - Pushes an event onto the event queue.....
The event queue can actually be used as a two way communication channel. Not only can events be read from the queue, but the user can also push their own events

XkbAllocServerMap(3) - Allocate and initialize an empty serv
XkbAllocServerMap allocates and initializes an empty server map in the server field of the keyboard description specified by xkb. The which parameter specifies

ttk_vsapi(n) - Define a Microsoft Visual Styles element.....
The vsapi element factory creates a new element in the current theme whose visual appearance is drawn using the Microsoft Visual Styles API which is responsible

gdbus-codegen(1) - D-Bus code and documentation generator...
gdbus-codegen is used to generate code and/or documentation for one or more D-Bus interfaces. The tool reads D-Bus Introspection XML [1] files and generates out

XScreenSaverUnsetAttributes(3) - X11 Screen Saver extension
The X Window System provides support for changing the image on a display screen after a user-settable period of inactivity to avoid burning the cathode ray tube

XCompositeNameWindowPixmap(3) - X Composite Extension librar
The composite extension provides several related mechanisms: Per-hierarchy storage The rendering of an entire hierarchy of windows is redirected to off-screen s

winepath(1) - Tool to convert Unix paths to/from Win32 paths
winepath is a tool to convert a Unix path to/from a Win32 (short/long) path compatible with its Microsoft Windows counterpart. If more than one option is given

Tcl_GetInterpPath(3) - manage multiple Tcl interpreters, ali
These procedures are intended for access to the multiple interpreter facility from inside C programs. They enable managing multiple interpreters in a hierarchic

git-verify-pack(1) - Validate packed git archive files......
Reads given idx file for packed Git archive created with the git pack-objects command and verifies idx file and the corresponding pack file. OPTIONS &lt;pack&gt;.idx

bootup(7) System bootup process (Misc - Linux man page).....
A number of different components are involved in the system boot. Immediately after power-up, the system BIOS will do minimal hardware initialization, and hand

We can't live, work or learn in freedom unless the software we use is free.