ASINH(3) - [MATHEMATICS:TRIGONOMETRIC] Inverse hyperbolic sine function
result = asinh(x)
elemental TYPE(kind=KIND) function asinh(x)TYPE(kind=KIND) :: x
o X may be any real or complex type o KIND may be any kind supported by the associated type o The returned value will be of the same type and kind as the argument
ASINH(3) computes the inverse hyperbolic sine of X.
o X : The value to compute the inverse hyperbolic sine of
The result has a value equal to a processor-dependent approximation to the inverse hyperbolic sine function of X.
If X is complex, the imaginary part of the result is in radians and lies between
-PI/2 <= aimag(asinh(x)) <= PI/2
Sample program:
program demo_asinh use,intrinsic :: iso_fortran_env, only : dp=>real64,sp=>real32 implicit none real(kind=dp), dimension(3) :: x = [ -1.0d0, 0.0d0, 1.0d0 ]Results:! elemental write (*,*) asinh(x)
end program demo_asinh
> -0.88137358701954305 0.0000000000000000 0.88137358701954305
Fortran 2008
Inverse function: SINH(3)
Fortran intrinsic descriptions (license: MIT) @urbanjost
o Wikipedia:hyperbolic functions
Nemo Release 3.1 | asinh (3fortran) | November 02, 2024 |