Python/ref cmath atanh

来自菜鸟教程
机器人讨论 | 贡献2020年10月29日 (四) 08:49的版本 (机器人:添加分类Python基础教程
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至:导航、​搜索

<languages />

Python cmath.atanh()方法

❮cmath方法

查找复数的双曲反正切:

    #import cmath for complex number operations 
import cmath

#find 
    the hyperbolic arctangent of a complex number
print (cmath.atanh(2+ 3j))

定义和用法

The cmath.atanh() 方法返回复数的反双曲正切值。

有两个分支切口:

  1. 从1沿实轴延伸到∞,从下方连续
  2. 沿实轴从-1延伸到-∞,从上方连续

句法

    cmath.atanh(x)
  

参数值

参数 描述
x 需要。找出反双曲反正切的数字

技术细节

返回值: A

complex 值,表示复数的反双曲正切值

Python版本: 1.5

❮cmath方法