Manual Reference Pages  - asinh (3fortran)

NAME

ASINH(3) - [MATHEMATICS:TRIGONOMETRIC] Inverse hyperbolic sine function

SYNOPSIS

result = asinh(x)

         elemental TYPE(kind=KIND) function asinh(x)

TYPE(kind=KIND) :: x

CHARACTERISTICS

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

    X

DESCRIPTION

ASINH(3) computes the inverse hyperbolic sine of X.

OPTIONS

o X : The value to compute the inverse hyperbolic sine of

RESULT

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

EXAMPLES

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 ]

! elemental write (*,*) asinh(x)

end program demo_asinh

Results:

      >  -0.88137358701954305  0.0000000000000000  0.88137358701954305

STANDARD

Fortran 2008

SEE ALSO

Inverse function: SINH(3)

RESOURCES

o Wikipedia:hyperbolic functions
Fortran intrinsic descriptions (license: MIT) @urbanjost


Nemo Release 3.1 asinh (3fortran) November 02, 2024
Generated by manServer 1.08 from 27e4dc74-8112-4469-8698-1b583a3a8ee4 using man macros.