>  Docs Center  >  Libraries  >  Galloy  >  mg_acosh
Libraries

mg_acosh

mg_acosh.pro (mglib)

Inverse hyperbolic cosine. Uses the formula:

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

Syntax


result = mg_acosh(z)

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:



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
My Account    |    Contact Us