[−][src]Module randomize::pcg
PCG related things.
The basic form of PCG is the Pick
flavor. There's also Mem
and Phantom
versions which are the same general idea, but get the stream selection value
comes from some place other than being stored in the generator itself.
Unlike the normal PCGs, where the output permutation is fixed as part of the generator and so the generator name is based on the output size, these PCGs offer more than one output permutation, so their names are based on their state size.
Re-exports
pub use self::mem::*; |
pub use self::permutations::*; |
pub use self::phantom::*; |
pub use self::pick::*; |
Modules
mem | Module for PCGs that use their own current memory address to pick the stream. |
permutations | Different permutations that you might apply to an LCG output to make it a PCG. |
phantom | Module for PCGs that use |
pick | PCG variants where you pick the output stream. |
Constants
PCG_DEFAULT_INCREMENT_8 | The default PCG increment for 8 bits of state |
PCG_DEFAULT_INCREMENT_16 | The default PCG increment for 16 bits of state |
PCG_DEFAULT_INCREMENT_32 | The default PCG increment for 32 bits of state |
PCG_DEFAULT_INCREMENT_64 | The default PCG increment for 64 bits of state |
PCG_DEFAULT_INCREMENT_128 | The default PCG increment for 128 bits of state |
PCG_DEFAULT_MULTIPLIER_8 | The default PCG multiplier for 8 bits of state |
PCG_DEFAULT_MULTIPLIER_16 | The default PCG multiplier for 16 bits of state |
PCG_DEFAULT_MULTIPLIER_32 | The default PCG multiplier for 32 bits of state |
PCG_DEFAULT_MULTIPLIER_64 | The default PCG multiplier for 64 bits of state |
PCG_DEFAULT_MULTIPLIER_128 | The default PCG multiplier for 128 bits of state |