python中逆ERF函数的命令[关闭]

2024-04-07

在Python中计算函数的逆误差函数(erf)的命令是什么?需要导入哪个模块?


For the inverse误差函数,scipy.special has erfinv:

http://docs.scipy.org/doc/scipy/reference/ generated/scipy.special.erfinv.html#scipy.special.erfinv http://docs.scipy.org/doc/scipy/reference/generated/scipy.special.erfinv.html#scipy.special.erfinv

In [4]: from scipy.special import erfinv

In [5]: erfinv(1)
Out[5]: inf

In [6]: erfinv(0.4)
Out[6]: 0.37080715859355784
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

python中逆ERF函数的命令[关闭] 的相关文章

随机推荐