Personal IDL library for M. Galloy

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


top source 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


z in required type=numeric



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 Sep 14 14:36:43 2011
Lines: 29
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.