OpenQMC API
Loading...
Searching...
No Matches
stochastic.h File Reference
#include "lookup.h"
#include "pcg.h"
#include "unused.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

void oqmc::stochasticPmjInit (int nsamples, std::uint32_t table[][4])
 Initialise a table with a progressive mult-jittered (0,2) sequence.
 

Detailed Description

An efficient implementation of progressive multi-jittered (0,2) sequences. This can be used to construct higher level sampler types. The method is based on 'Stochastic Generation of (t, s) Sample Sequences' by Andrew Helmer, et al. As progressive multi-jittered (0,2) XOR tables only produce the first pair of the four dimensions, the second pair is a randomisation of the first.