Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
qmc.h File Reference
#include <mitsuba/mitsuba.h>

Go to the source code of this file.

Namespaces

 mitsuba
 

Macros

#define __MITSUBA_CORE_QMC_H_
 

Elementary Quasi-Monte Carlo number sequences

const int mitsuba::primeTable [primeTableSize]
 Table of the first 1024 prime numbers. More...
 
float mitsuba::radicalInverse2Single (uint32_t n, uint32_t scramble=0U)
 Van der Corput radical inverse in base 2 with single precision. More...
 
double mitsuba::radicalInverse2Double (uint64_t n, uint64_t scramble=0ULL)
 Van der Corput radical inverse in base 2 with double precision. More...
 
float mitsuba::sobol2Single (uint32_t n, uint32_t scramble=0U)
 Sobol' radical inverse in base 2 with single precision. More...
 
double mitsuba::sobol2Double (uint64_t n, uint64_t scramble=0ULL)
 Sobol' radical inverse in base 2 with double precision. More...
 
Point2f mitsuba::sample02Single (uint32_t n, uint32_t scramble[2])
 Generate an element from a (0, 2) sequence, single precision. More...
 
Point2d mitsuba::sample02Double (uint64_t n, uint64_t scramble[2])
 Generate an element from a (0, 2) sequence, double precision version. More...
 
Point2 mitsuba::sample02 (size_t n)
 Generate an element from a (0, 2) sequence (without scrambling) More...
 
uint64_t mitsuba::sampleTEA (uint32_t v0, uint32_t v1, int rounds=4)
 Generate fast and reasonably good pseudorandom numbers using the Tiny Encryption Algorithm (TEA) by David Wheeler and Roger Needham. More...
 
float mitsuba::sampleTEASingle (uint32_t v0, uint32_t v1, int rounds=4)
 Generate fast and reasonably good pseudorandom numbers using the Tiny Encryption Algorithm (TEA) by David Wheeler and Roger Needham. More...
 
double mitsuba::sampleTEADouble (uint32_t v0, uint32_t v1, int rounds=4)
 Generate fast and reasonably good pseudorandom numbers using the Tiny Encryption Algorithm (TEA) by David Wheeler and Roger Needham. More...
 
Float mitsuba::sampleTEAFloat (uint32_t v0, uint32_t v1, int rounds=4)
 Alias to sampleTEASingle or sampleTEADouble based on compilation flags. More...
 
Float mitsuba::radicalInverse (int base, uint64_t index)
 Calculate the radical inverse function. More...
 
Float mitsuba::scrambledRadicalInverse (int base, uint64_t index, uint16_t *perm)
 Calculate a scrambled radical inverse function. More...
 
Float mitsuba::radicalInverseIncremental (int base, Float x)
 Incrementally calculate the next Van Der Corput sequence value starting from a current entry x (wrt. a fixed base) More...
 
Float mitsuba::radicalInverseFast (uint16_t baseIndex, uint64_t index)
 Calculate a radical inverse function (fast version) More...
 
Float mitsuba::scrambledRadicalInverseFast (uint16_t baseIndex, uint64_t index, uint16_t *perm)
 Calculate a scrambled radical inverse function (fast version) More...
 

Macro Definition Documentation

#define __MITSUBA_CORE_QMC_H_