mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Issue #3366: Add error function and complementary error function to
math module.
This commit is contained in:
parent
0c6a0e3318
commit
5ff37ae14b
4 changed files with 242 additions and 1 deletions
|
|
@ -177,6 +177,8 @@ Power and logarithmic functions
|
|||
>>> expm1(1e-5) # result accurate to full precision
|
||||
1.0000050000166668e-05
|
||||
|
||||
.. versionadded:: 2.7
|
||||
|
||||
|
||||
.. function:: log(x[, base])
|
||||
|
||||
|
|
@ -325,6 +327,20 @@ Hyperbolic functions
|
|||
Special functions
|
||||
-----------------
|
||||
|
||||
.. function:: erf(x)
|
||||
|
||||
Return the error function at *x*.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
|
||||
|
||||
.. function:: erfc(x)
|
||||
|
||||
Return the complementary error function at *x*.
|
||||
|
||||
.. versionadded:: 2.7
|
||||
|
||||
|
||||
.. function:: gamma(x)
|
||||
|
||||
Return the Gamma function at *x*.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue