Manual Reference Pages  - atanh (3fortran)

NAME

ATANH(3) - [MATHEMATICS:TRIGONOMETRIC] Inverse hyperbolic tangent function

SYNOPSIS

result = atanh(x)

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

TYPE(kind=KIND),intent(in) :: x

CHARACTERISTICS

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.

DESCRIPTION

ATANH(3) computes the inverse hyperbolic tangent of X.

OPTIONS

o X : The type shall be real or complex.

RESULT

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**

EXAMPLES

Sample program:

    program demo_atanh
    implicit none
    real, dimension(3) :: x = [ -1.0, 0.0, 1.0 ]

write (*,*) atanh(x)

end program demo_atanh

Results:

     >       -Infinity  0.0000000E+00       Infinity

STANDARD

Fortran 2008

SEE ALSO

Inverse function: TANH(3)

RESOURCES

o Wikipedia:hyperbolic functions
fortran-lang intrinsic descriptions (license: MIT) @urbanjost


Nemo Release 3.1 atanh (3fortran) April 28, 2024
Generated by manServer 1.08 from 36880a5f-bacb-4f37-8e21-74bd2550b348 using man macros.