mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

analysis/

mg_atanh.pro


Routines

top mg_atanh

result = mg_atanh(z)

Inverse hyperbolic tangent. Uses the formula:

$$\text{atanh}(z) = \frac{\ln(\frac{1 + z}{1 - z})}{2}$$

Return value

float, double, complex, or double complex depending on the input

Parameters

z in required type=numeric

input

Examples

The arc hyperbolic sine function looks like:

IDL> x = 2. * findgen(1000) / 999. - 1. IDL> plot, x, mg_atanh(x), xstyle=1
This should look like:

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 4
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.