ACOSH — Inverse hyperbolic cosine function¶
- ACOSH(X)¶
ACOSH(X)
computes the inverse hyperbolic cosine ofX
.- Parameters
X – The type shall be
REAL
orCOMPLEX
.- Returns
The return value has the same type and kind as
X
. IfX
is complex, the imaginary part of the result is in radians and lies between 0 leq Im acosh(x) leq pi.
Standard:
Fortran 2008 and later
Class:
Elemental function
Syntax:
RESULT = ACOSH(X)
Example:
PROGRAM test_acosh REAL(8), DIMENSION(3) :: x = (/ 1.0, 2.0, 3.0 /) WRITE (*,*) ACOSH(x) END PROGRAM
Specific names:
Name
Argument
Return type
Standard
DACOSH(X)
REAL(8) X
REAL(8)
GNU extension
See also:
Inverse function: COSH