Set the state from a tuple.
state = (‘MT19937’, int key[624], int pos, int has_gauss, float cached_gaussian)
For backwards compatibility, the following form is also accepted although it is missing some information about the cached Gaussian value.
state = (‘MT19937’, int key[624], int pos)