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