bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / random / _mt19937 / MT19937 / jumped
cython_function_or_method
numpy.random._mt19937:MT19937.jumped
Signature
def jumped ( jumps = 1 ) Summary
Returns a new bit generator with the state jumped
Extended Summary
The state of the returned bit generator is jumped as-if 2**(128 * jumps) random numbers have been generated.
Parameters
jumps: integer, positiveNumber of times to jump the state of the bit generator returned
Returns
bit_generator: MT19937New instance of generator jumped iter times
Notes
The jump step is computed using a modified version of Matsumoto's implementation of Horner's method. The step polynomial is precomputed to perform 2**128 steps. The jumped state has been verified to match the state produced using Matsumoto's original code.
Aliases
-
numpy.random.MT19937.jumped