@@ -49,12 +49,12 @@ cdef object _set_state(aug_state *state, object state_info):
4949DEF CLASS_DOCSTRING = u """
5050RandomState(seed=None)
5151
52- Container for the xorshift1024* pseudo random number generator.
52+ Container for the xorshift1024* pseudo- random number generator.
5353
5454xorshift1024* is a 64-bit implementation of Saito and Matsumoto's XSadd
5555generator [1]_. xorshift1024* has a period of :math:`2^{1024} - 1` and
56- supports jumping the sequence in increments of :math:`2^{512}`, which allow multiple
57- non-overlapping sequences to be generated.
56+ supports jumping the sequence in increments of :math:`2^{512}`, which allows
57+ multiple non-overlapping sequences to be generated.
5858
5959``xorshift1024.RandomState`` exposes a number of methods for generating random
6060numbers drawn from a variety of probability distributions. In addition to the
@@ -80,7 +80,7 @@ seed : {None, int, array_like}, optional
8080 Can be an integer in [0, 2**64-1], array of integers in
8181 [0, 2**64-1] or ``None`` (the default). If `seed` is ``None``,
8282 then ``xorshift1024.RandomState`` will try to read data from
83- ``/dev/urandom`` (or the Windows analogue ) if available. If
83+ ``/dev/urandom`` (or the Windows analog ) if available. If
8484 unavailable, a 64-bit hash of the time and process ID is used.
8585
8686Notes
@@ -90,10 +90,10 @@ See xorshift128 for a faster implementation that has a smaller period.
9090**Parallel Features**
9191
9292``xorshift1024.RandomState`` can be used in parallel applications by
93- calling the method ``jump`` which advances the
94- the state as-if :math:`2^{512}` random numbers have been generated. This
95- allow the original sequence to be split so that distinct segments can be used
96- on each worker process. All generators should be initialized with the same
93+ calling the method ``jump`` which advances the state as-if
94+ :math:`2^{512}` random numbers have been generated. This
95+ allows the original sequence to be split so that distinct segments can be used
96+ in each worker process. All generators should be initialized with the same
9797seed to ensure that the segments come from the same sequence.
9898
9999>>> import randomstate.prng.xorshift1024 as rnd
@@ -108,7 +108,7 @@ The ``xorshift1024.RandomState`` state vector consists of a 16 element array
108108of 64-bit unsigned integers.
109109
110110``xorshift1024.RandomState`` is seeded using either a single 64-bit unsigned integer
111- or a vector of 64-bit unsigned integers. In either case the input seed is
111+ or a vector of 64-bit unsigned integers. In either case, the input seed is
112112used as an input (or inputs) for another simple random number generator,
113113Splitmix64, and the output of this PRNG function is used as the initial state.
114114Using a single 64-bit value for the seed can only initialize a small range of
0 commit comments