Python cmath.atanh()メソッド
例
複素数の双曲線アークタンジェントを見つけます。
#import cmath for complex number operations
import cmath
#find
the hyperbolic arctangent of a complex number
print (cmath.atanh(2+ 3j))
定義と使用法
このcmath.atanh()
メソッドは、複素数の逆双曲線正接を返します。
2つのブランチカットがあります。
- 実軸に沿って1から∞まで伸び、下から連続
- 実軸に沿って-1から-∞まで伸び、上から連続
構文
cmath.atanh(x)
パラメータ値
Parameter | Description |
---|---|
x | Required. A number to find the inverse hyperbolic arctangent of |
技術的な詳細
戻り値: | complex 複素数の逆双曲線正接を表す値 |
---|---|
Pythonバージョン: | 1.5 |