acosh

fun acosh(complex: Complex): Complex(source)

Computes the inverse hyperbolic cosine of a complex number. The inverse hyperbolic cosine is calculated using the formula: acosh(z) = ln(z + sqrt(z² - 1)) where z is the complex number.

Return

A new instance of Complex representing the inverse hyperbolic cosine of the given complex number.

Parameters

complex

The complex number for which the inverse hyperbolic cosine is calculated.