|
OpenQMC API
|
#include "arch.h"#include "gpu.h"#include "permute.h"#include "reverse.h"#include "rotate.h"#include <cassert>#include <cstdint>
Go to the source code of this file.
Namespaces | |
| namespace | oqmc |
Functions | |
| std::uint16_t | oqmc::sobolReversedIndex (std::uint16_t index, int dimension) |
| Compute sobol sequence value at an index with reversed bits. | |
| constexpr std::uint32_t | oqmc::scrambleAndReverse (std::uint32_t value, std::uint32_t seed) |
| Permute an input integer and reverse the bits. | |
| template<int Depth> | |
| void | oqmc::shuffledScrambledSobol (std::uint32_t index, std::uint32_t seed, std::uint32_t sample[Depth]) |
| Compute a randomised sobol sequence value. | |
An efficient implementation of Owen scrambled sobol sequences. This can be used to construct higher level sampler types. The method uses Brent Burley's hash based 'Practical Hash-based Owen Scrambling' construction with added optimisations.