OpenQMC API
Loading...
Searching...
No Matches
owen.h File Reference
#include "arch.h"
#include "gpu.h"
#include "permute.h"
#include "reverse.h"
#include "rotate.h"
#include <cassert>
#include <cstdint>
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

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.