HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SobolSequence< itype, DIM, BITS > Class Template Reference

#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...
 

Detailed Description

template<class itype, uint DIM, uint BITS = sizeof(itype)*8>
class UT_SobolSequence< itype, DIM, BITS >

Random Sobol sequence of dimension DIM with BITS bits of integral unsigned type itype

Definition at line 27 of file UT_SobolSequence.h.

Constructor & Destructor Documentation

template<class itype , uint DIM, uint BITS>
UT_SobolSequence< itype, DIM, BITS >::UT_SobolSequence ( )

Definition at line 111 of file UT_SobolSequence.h.

Member Function Documentation

template<class itype , uint DIM, uint BITS>
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.

template<class itype, uint DIM, uint BITS = sizeof(itype)*8>
constexpr uint UT_SobolSequence< itype, DIM, BITS >::bits ( ) const
inline

Definition at line 33 of file UT_SobolSequence.h.

template<class itype, uint DIM, uint BITS = sizeof(itype)*8>
constexpr uint UT_SobolSequence< itype, DIM, BITS >::dimension ( ) const
inline

Definition at line 32 of file UT_SobolSequence.h.

template<class itype, uint DIM, uint BITS>
void UT_SobolSequence< itype, DIM, BITS >::rewind ( itype  n = 0)

Reset the sequence.

Definition at line 197 of file UT_SobolSequence.h.

template<class itype, uint DIM, uint BITS = sizeof(itype)*8>
itype UT_SobolSequence< itype, DIM, BITS >::x ( exint  dim) const
inline

Return the sequence value for dimension dim.

Definition at line 40 of file UT_SobolSequence.h.

template<class itype, uint DIM, uint BITS = sizeof(itype)*8>
fpreal32 UT_SobolSequence< itype, DIM, BITS >::xf ( exint  dim) const
inline

Definition at line 41 of file UT_SobolSequence.h.


The documentation for this class was generated from the following file: