acosh(x)
computes the inverse hyperbolic cosine of x
.
Fortran 2008 and later
Elemental function
result = acosh(x)
x
- the type shall be real
or complex
.The return value has the same type and kind as x
. If x
is complex, the imaginary part of the result is in radians and lies between .
program test_acosh
real(8), dimension(3) :: x = (/ 1.0, 2.0, 3.0 /)
write (*,*) acosh(x)
end program
Inverse function: cosh