mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-108322: Optimize statistics.NormalDist.samples() (gh-108324)
This commit is contained in:
parent
09343dba44
commit
042aa88bcc
3 changed files with 14 additions and 5 deletions
|
@ -828,6 +828,11 @@ of applications in statistics.
|
|||
number generator. This is useful for creating reproducible results,
|
||||
even in a multi-threading context.
|
||||
|
||||
.. versionchanged:: 3.13
|
||||
|
||||
Switched to a faster algorithm. To reproduce samples from previous
|
||||
versions, use :func:`random.seed` and :func:`random.gauss`.
|
||||
|
||||
.. method:: NormalDist.pdf(x)
|
||||
|
||||
Using a `probability density function (pdf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue