Start some code for mix functions in Python.
Merge branch 'master' into mix
Change MWC sanitise functions so that the state is guaranteed to be within a regular cycle value.
This avoids the class of initial state values that is outside normal cycle values.
Thus it avoids some "corner cases" which would complicate future jumpahead() implementation.
Implement fancier __init__() functions for some generators.
Implement mix() functions for some generators.
Merge branch 'master' into mix
Rework changes to MWC sanitise functions:
* Get rid of for loops.
* Only read state once, to avoid race conditions if it changes (multi-threading scenario).
Update __init__(), seed() and add mix() for MWC64, KISS and KISS2.
Comments.
Update __init__(), seed() and add mix() for LFSR generators.
C and Python changes:
Change the seed algorithm for LFSR slightly.
Python:
If too few values are passed to seed, reuse the last seed value.
Add current() function for all generators.
Fix MWC1 mwc property.
Update Cython code with improved __init__() and seed() and added mix() function.
Done for Cong, SHR3, MWC1, MWC2, MWC64.
Rename _validate_seed() to sanitise() in Cython code.
Cython code for improved __init(), seed() and mix(), for KISS and KISS2.
Fix next() usage in Cython for Python 3.
Cython code for improved __init(), seed() and mix(), for LFSR generators. Add tests for mix() functions.
Merge branch 'mix'