Clicky

Fortran Wiki
atanh (changes)

Skip the Navigation Links | Home Page | All Pages | Recently Revised | Authors | Feeds | Export |

Showing changes from revision #4 to #5: (追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)

Description

atanh(x) computes the inverse hyperbolic tangent of x.

Standard

Fortran 2008 and later

Class

Elemental function

Syntax

result = atanh(x)

Arguments

  • x - The type shall be real or complex.

Return value

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 \\leq \\mathop{Im}{\\atanh(x)} \\leq \\pi/2 (削除ここまで)(追記) π/2Imatanh(x)π/2-\pi/2 \leq \mathop{Im}{\atanh(x)} \leq \pi/2 (追記ここまで).

Example

program test_atanh
 real, dimension(3) :: x = (/ -1.0, 0.0, 1.0 /)
 write (*,*) atanh(x)
end program

See also

Inverse function: tanh

category: intrinsics

Revised on March 1, 2023 13:07:08 by Jason Blevins (23.245.217.121) (715 characters / 0.0 pages)
Edit | Back in time (4 revisions) | Hide changes | History | Views: Print | TeX | Source | Linked from: Intrinsic procedures, Fortran 2008, tanh

AltStyle によって変換されたページ (->オリジナル) /