ATANH(3) - [MATHEMATICS:TRIGONOMETRIC] Inverse hyperbolic tangent function
result = atanh(x)
elemental TYPE(kind=KIND) function atanh(x)TYPE(kind=KIND),intent(in) :: x
o X may be real or complex of any associated type o The returned value will be of the same type and kind as the argument.
ATANH(3) computes the inverse hyperbolic tangent of X.
o X : The type shall be real or complex.
The return value has same type and kind as X. If X is complex, the imaginary part of the result is in radians and lies between
-PI/2 <= aimag(atanh(x)) <= PI/2
Sample program:
program demo_atanh implicit none real, dimension(3) :: x = [ -1.0, 0.0, 1.0 ]Results:write (*,*) atanh(x)
end program demo_atanh
> -Infinity 0.0000000E+00 Infinity
Fortran 2008
Inverse function: TANH(3)
Fortran intrinsic descriptions (license: MIT) @urbanjost
o Wikipedia:hyperbolic functions
Nemo Release 3.1 | atanh (3fortran) | November 02, 2024 |