Python/ref math erfc
来自菜鸟教程
<languages />
Python math.erfc()方法
例
打印不同数字的互补误差函数:
# Import math Library
import math
# Print complementary error function
for different numbers
print (math.erfc(0.67))
print (math.erfc(1.34))
print
(math.erfc(-6))
定义和用法
The
math.erfc()
方法返回数字的互补误差函数。
此方法接受-inf和+ inf之间的值,并返回0和2之间的值。
句法
math.erfc(x)
参数值
| 参数 | 描述 |
|---|---|
| x | 需要。找出互补误差函数的数 |
技术细节
| 返回值: | A
|
| Python版本: | 3.2 |