|
OpenQMC API
|

Go to the source code of this file.
Namespaces | |
| namespace | oqmc |
Functions | |
| constexpr std::uint32_t | oqmc::randomDigitScramble (std::uint32_t value, std::uint32_t hash) |
| Random digit scramble an element in a sequence. | |
| template<int Table, int Depth> | |
| void | oqmc::shuffledScrambledLookup (std::uint32_t index, std::uint32_t hash, const std::uint32_t table[][Table], std::uint32_t sample[Depth]) |
| Compute a randomised value from a pre-computed table. | |
Table lookup functionality. This can be paired with various pre-initialised sample sequence methods to randomise a sequence lookup. As a result a single initialised table can be reused to save on initialisation and storage costs.