#include <montecarlo.h>
Public Member Functions | |
PermutedHalton (uint32_t d, RNG &rng) | |
~PermutedHalton () | |
void | Sample (uint32_t n, float *out) const |
Private Member Functions | |
PermutedHalton (const PermutedHalton &) | |
PermutedHalton & | operator= (const PermutedHalton &) |
Private Attributes | |
uint32_t | dims |
uint32_t * | b |
uint32_t * | permute |
Definition at line 207 of file montecarlo.h.
PermutedHalton::PermutedHalton | ( | uint32_t | d, | |
RNG & | rng | |||
) |
Definition at line 372 of file montecarlo.cpp.
References b, dims, GeneratePermutation(), permute, and primes.
PermutedHalton::~PermutedHalton | ( | ) | [inline] |
Definition at line 211 of file montecarlo.h.
PermutedHalton::PermutedHalton | ( | const PermutedHalton & | ) | [private] |
PermutedHalton& PermutedHalton::operator= | ( | const PermutedHalton & | ) | [private] |
void PermutedHalton::Sample | ( | uint32_t | n, | |
float * | out | |||
) | const [inline] |
Definition at line 215 of file montecarlo.h.
References b, dims, OneMinusEpsilon, permute, and PermutedRadicalInverse().
Referenced by PhotonShootingTask::Run().
uint32_t* PermutedHalton::b [private] |
Definition at line 226 of file montecarlo.h.
Referenced by PermutedHalton(), Sample(), and ~PermutedHalton().
uint32_t PermutedHalton::dims [private] |
Definition at line 225 of file montecarlo.h.
Referenced by PermutedHalton(), and Sample().
uint32_t * PermutedHalton::permute [private] |
Definition at line 226 of file montecarlo.h.
Referenced by PermutedHalton(), Sample(), and ~PermutedHalton().