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 intrinsic descriptions (license: MIT) @urbanjost


Nemo Release 3.1 atanh (3fortran) November 02, 2024
Generated by manServer 1.08 from 4f821428-1898-4fc8-a4b7-9b4126105ca6 using man macros.