idllib

Personal IDL library for M. Galloy

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

analysis/

mg_acosh.pro


top source mg_acosh

result = mg_acosh(z)

Inverse hyperbolic cosine. Uses the formula:

$$\text{acosh}(z) = \ln(z + \sqrt{z + 1} \sqrt{z - 1})$$

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.5 * findgen(1000) / 999. + 1. IDL> plot, x, mg_acosh(x), xstyle=1
This should look like:

File attributes

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