#include <UT_SobolSequence.h>
Public Member Functions | |
| UT_SobolSequence (uint dim, uint bits=sizeof(itype)*8) | |
| virtual | ~UT_SobolSequence () |
| uint | dimension () const |
| uint | bits () const |
| void | advance () |
| itype | x (uint dim) |
| Return the sequence value for dimension dim. | |
| fpreal32 | xf (uint dim) |
| void | rewind (itype n=0) |
| Reset the sequence. | |
Definition at line 31 of file UT_SobolSequence.h.
| UT_SobolSequence< itype >::UT_SobolSequence | ( | uint | dim, | |
| uint | bits = sizeof(itype)*8 | |||
| ) |
Initialize a new sequence with the given number of dimensions and bits.
dim = vector size for each sample (max 6) bits = number of bits in each random value (max 32)
| virtual UT_SobolSequence< itype >::~UT_SobolSequence | ( | ) | [virtual] |
| void UT_SobolSequence< itype >::advance | ( | ) |
Advance to the next sample, storing the result into x. When myN exceeds the range of the sequence, it will automatically wrap.
| uint UT_SobolSequence< itype >::bits | ( | ) | const [inline] |
Definition at line 43 of file UT_SobolSequence.h.
| uint UT_SobolSequence< itype >::dimension | ( | ) | const [inline] |
Definition at line 42 of file UT_SobolSequence.h.
| void UT_SobolSequence< itype >::rewind | ( | itype | n = 0 |
) |
Reset the sequence.
| itype UT_SobolSequence< itype >::x | ( | uint | dim | ) | [inline] |
| fpreal32 UT_SobolSequence< itype >::xf | ( | uint | dim | ) | [inline] |
Definition at line 52 of file UT_SobolSequence.h.
1.5.9