Personal IDL library for M. Galloy

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


top source mg_asinh

result = mg_asinh(z)

Inverse hyperbolic sine. Uses the formula:

$$\text{asinh}(z) = \ln(z + \sqrt{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 = 10. * findgen(1000) / 999. - 5. IDL> plot, x, mg_asinh(x), xstyle=1
This should look like:

File attributes

Modification date: Wed Sep 14 14:36:48 2011
Lines: 29
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.