mirror of
https://github.com/python/cpython.git
synced 2025-09-29 19:56:59 +00:00
Nits.
This commit is contained in:
parent
a4cfb4292a
commit
2c63906283
1 changed files with 5 additions and 5 deletions
|
@ -998,11 +998,11 @@ error function <http://en.wikipedia.org/wiki/Error_function>`_:
|
||||||
>>> erf(1.0/sqrt(2.0)) # portion of normal distribution within 1 standard deviation
|
>>> erf(1.0/sqrt(2.0)) # portion of normal distribution within 1 standard deviation
|
||||||
0.682689492137086
|
0.682689492137086
|
||||||
|
|
||||||
:func:`~math.gamma` is a continuous extension of the factorial function. See
|
The :func:`~math.gamma` function is a continuous extension of the factorial
|
||||||
http://en.wikipedia.org/wiki/Gamma_function for details. Because the function
|
function. See http://en.wikipedia.org/wiki/Gamma_function for details. Because
|
||||||
is related to factorials, it grows large even for small values of *x*, so there
|
the function is related to factorials, it grows large even for small values of
|
||||||
is also a :func:`~math.lgamma` for computing the natural logarithm of the gamma
|
*x*, so there is also a :func:`~math.lgamma` function for computing the natural
|
||||||
function:
|
logarithm of the gamma function:
|
||||||
|
|
||||||
>>> gamma(7.0) # six factorial
|
>>> gamma(7.0) # six factorial
|
||||||
720.0
|
720.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue