HDK
|
#include <UT_SobolSequence.h>
Public Member Functions | |
UT_SobolSequence () | |
constexpr uint | dimension () const |
constexpr uint | bits () const |
void | advance () |
itype | x (exint dim) const |
Return the sequence value for dimension dim. More... | |
fpreal32 | xf (exint dim) const |
void | rewind (itype n=0) |
Reset the sequence. More... | |
Random Sobol sequence of dimension DIM with BITS bits of integral unsigned type itype
Definition at line 27 of file UT_SobolSequence.h.
UT_SobolSequence< itype, DIM, BITS >::UT_SobolSequence | ( | ) |
Definition at line 111 of file UT_SobolSequence.h.
void UT_SobolSequence< itype, DIM, BITS >::advance | ( | ) |
Advance to the next sample, storing the result into x. When myN exceeds the range of the sequence, it will automatically wrap.
Definition at line 167 of file UT_SobolSequence.h.
|
inline |
Definition at line 33 of file UT_SobolSequence.h.
|
inline |
Definition at line 32 of file UT_SobolSequence.h.
void UT_SobolSequence< itype, DIM, BITS >::rewind | ( | itype | n = 0 | ) |
Reset the sequence.
Definition at line 197 of file UT_SobolSequence.h.
|
inline |
Return the sequence value for dimension dim.
Definition at line 40 of file UT_SobolSequence.h.
|
inline |
Definition at line 41 of file UT_SobolSequence.h.