idllib

Personal IDL library for M. Galloy

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

analysis/

mg_atanh.pro


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

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