用法:
math.erf(x)
在
x
返回 error function。erf()
函數可用於計算傳統統計函數,例如 cumulative standard normal distribution :def phi(x): 'Cumulative distribution function for the standard normal distribution' return (1.0 + erf(x / sqrt(2.0))) / 2.0
3.2 版中的新函數。
相關用法
- Python math.expm1用法及代碼示例
- Python math.exp()用法及代碼示例
- Python math.cos()用法及代碼示例
- Python math.cosh()用法及代碼示例
- Python math.acosh()用法及代碼示例
- Python math.fmod()用法及代碼示例
- Python math.fsum()用法及代碼示例
- Python math.factorial()用法及代碼示例
- Python math.remainder()用法及代碼示例
- Python math.asinh()用法及代碼示例
- Python math.prod()用法及代碼示例
- Python math.atanh()用法及代碼示例
- Python math.fabs()用法及代碼示例
- Python math.log1p()用法及代碼示例
- Python math.gcd()用法及代碼示例
- Python math.frexp()用法及代碼示例
- Python math.isqrt()用法及代碼示例
- Python math.ldexp()用法及代碼示例
- Python math.acos()用法及代碼示例
- Python math.sin()用法及代碼示例
注:本文由純淨天空篩選整理自python.org大神的英文原創作品 math.erf。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。