randomgen.mt19937.MT19937.jumped

MT19937.jumped(jumps=1)

Returns a new bit generator with the state jumped

The state of the returned big generator is jumped as-if 2**(128 * jumps) random numbers have been generated.

Parameters:
jumps=1

Number of times to jump the state of the bit generator returned

Returns:

bit_generator – New instance of generator jumped jumps times

Return type:

MT19937

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.

References