summaryrefslogtreecommitdiff
path: root/doc/source/reference/random
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2019-05-31 03:13:33 -0400
committerMatti Picus <matti.picus@gmail.com>2019-05-31 10:13:33 +0300
commit0c70787c04d7b0febacb14edfe214cb68d87b6c3 (patch)
treea518387f3e9134d753ac4d09009ab4764a8dd4b2 /doc/source/reference/random
parent43465f725bc47a36f08c5e69a61c2702a97491b8 (diff)
downloadnumpy-0c70787c04d7b0febacb14edfe214cb68d87b6c3.tar.gz
MAINT: Misc. typo fixes (#13664)
* DOC, MAINT: Misc. typo fixes Found via `codespell`
Diffstat (limited to 'doc/source/reference/random')
-rw-r--r--doc/source/reference/random/index.rst6
-rw-r--r--doc/source/reference/random/new-or-different.rst2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/reference/random/index.rst b/doc/source/reference/random/index.rst
index 0b8145735..3159f0e1c 100644
--- a/doc/source/reference/random/index.rst
+++ b/doc/source/reference/random/index.rst
@@ -5,7 +5,7 @@
numpy.random
============
-Numpy's random number routines produce psuedo random numbers using
+Numpy's random number routines produce pseudo random numbers using
combinations of a `BitGenerator` to create sequences and a `Generator`
to use those sequences to sample from different statistical distributions:
@@ -41,7 +41,7 @@ which will be faster than the legacy methods in `RandomState`
`Generator` can be used as a direct replacement for `~RandomState`, although
the random values are generated by `~xoshiro256.Xoshiro256`. The
-`Generator` holds an instance of a BitGenerator. It is accessable as
+`Generator` holds an instance of a BitGenerator. It is accessible as
``gen.bit_generator``.
.. code-block:: python
@@ -127,7 +127,7 @@ What's New or Different
:ref:`Cython <randomgen_cython>`.
* `~.Generator.integers` is now the canonical way to generate integer
random numbers from a discrete uniform distribution. The ``rand`` and
- ``randn`` methods are only availabe through the legacy `~.RandomState`.
+ ``randn`` methods are only available through the legacy `~.RandomState`.
The ``endpoint`` keyword can be used to specify open or closed intervals.
This replaces both ``randint`` and the deprecated ``random_integers``.
* `~.Generator.random` is now the canonical way to generate floating-point
diff --git a/doc/source/reference/random/new-or-different.rst b/doc/source/reference/random/new-or-different.rst
index 969a9372d..a6de9c8dc 100644
--- a/doc/source/reference/random/new-or-different.rst
+++ b/doc/source/reference/random/new-or-different.rst
@@ -54,7 +54,7 @@ And in more detail:
`~.Generator.standard_gamma`.
* `~.Generator.integers` is now the canonical way to generate integer
random numbers from a discrete uniform distribution. The ``rand`` and
- ``randn`` methods are only availabe through the legacy `~.RandomState`.
+ ``randn`` methods are only available through the legacy `~.RandomState`.
This replaces both ``randint`` and the deprecated ``random_integers``.
* The Box-Muller used to produce NumPy's normals is no longer available.
* All bit generators can produce doubles, uint64s and