Python/ref cmath atan
来自菜鸟教程
<languages />
Python cmath.atan()方法
例
查找复数的反正切:
#import cmath for complex number operations
import cmath
#find
the arc tangent of a complex number
print (cmath.atan(2 + 3j))
定义和用法
The
cmath.atan()
方法返回复数的反正切。
主要有两个分支削减:
- 从1j沿虚轴延伸到向右的∞j
- 沿着虚轴从-1j延伸到向左的-∞j
句法
cmath.atan(x)
参数值
| 参数 | 描述 |
|---|---|
| x | 需要。查找正反切线的数 |
技术细节
| 返回值: | A
|
| Python版本: | 2.6 |