[−][src]Module randomize::mcg
Deprecating in 2.0.1:
You really shouldn't use these. It was a mistake to make them structs.
Module for MCGs with permuted output.
An MCG is just an LCG without the add step. This makes them ever so slightly faster. One whole add operation faster.
Note: MCGs must have a non-zero state value, so they are not uniform generators.
Structs
MCGU8 | [ Deprecated ] An MCG with 8 bits of state |
MCGU16 | [ Deprecated ] An MCG with 16 bits of state |
MCGU32 | [ Deprecated ] An MCG with 32 bits of state |
MCGU64 | [ Deprecated ] An MCG with 64 bits of state |
MCGU128 | [ Deprecated ] An MCG with 128 bits of state |