HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_XorShiftCached Class Reference

#include <UT_XorShift.h>

+ Inheritance diagram for UT_XorShiftCached:

Public Member Functions

SYS_FORCE_INLINE UT_XorShiftCached ()
 
SYS_FORCE_INLINE UT_XorShiftCached (uint64 seed0, uint64 seed1=0)
 
SYS_FORCE_INLINE UT_XorShiftCached (uint32 seed0, uint32 seed1=0, uint32 seed2=0, uint32 seed3=0)
 
SYS_FORCE_INLINE void reseed (uint32 seed0, uint32 seed1=0, uint32 seed2=0, uint32 seed3=0)
 
void reseed (uint64 seed0, uint64 seed1=0)
 
SYS_FORCE_INLINE uint32 get ()
 
SYS_FORCE_INLINE float getFloat ()
 
- Public Member Functions inherited from UT_XorShift
SYS_FORCE_INLINE UT_XorShift ()
 
SYS_FORCE_INLINE UT_XorShift (uint64 seed0, uint64 seed1=0)
 
SYS_FORCE_INLINE UT_XorShift (uint32 seed0, uint32 seed1=0, uint32 seed2=0, uint32 seed3=0)
 
SYS_FORCE_INLINE void reseedSelf ()
 
void reseed (uint64 seed0, uint64 seed1=0)
 
SYS_FORCE_INLINE void reseed (uint32 seed0, uint32 seed1=0, uint32 seed2=0, uint32 seed3=0)
 
SYS_FORCE_INLINE uint64 get64 ()
 
SYS_FORCE_INLINE uint32 get ()
 
SYS_FORCE_INLINE float getFloat ()
 
SYS_FORCE_INLINE double getDouble ()
 

Additional Inherited Members

- Static Public Member Functions inherited from UT_XorShift
static SYS_FORCE_INLINE fpreal32 intToFloat01 (uint32 i)
 
static SYS_FORCE_INLINE fpreal64 int64ToDouble01 (uint64 i)
 

Detailed Description

Definition at line 146 of file UT_XorShift.h.

Constructor & Destructor Documentation

SYS_FORCE_INLINE UT_XorShiftCached::UT_XorShiftCached ( )
inline

Definition at line 152 of file UT_XorShift.h.

SYS_FORCE_INLINE UT_XorShiftCached::UT_XorShiftCached ( uint64  seed0,
uint64  seed1 = 0 
)
inline

Definition at line 153 of file UT_XorShift.h.

SYS_FORCE_INLINE UT_XorShiftCached::UT_XorShiftCached ( uint32  seed0,
uint32  seed1 = 0,
uint32  seed2 = 0,
uint32  seed3 = 0 
)
inline

Definition at line 157 of file UT_XorShift.h.

Member Function Documentation

SYS_FORCE_INLINE uint32 UT_XorShiftCached::get ( )
inline

Definition at line 170 of file UT_XorShift.h.

SYS_FORCE_INLINE float UT_XorShiftCached::getFloat ( )
inline

Definition at line 182 of file UT_XorShift.h.

SYS_FORCE_INLINE void UT_XorShiftCached::reseed ( uint32  seed0,
uint32  seed1 = 0,
uint32  seed2 = 0,
uint32  seed3 = 0 
)
inline

Definition at line 161 of file UT_XorShift.h.

void UT_XorShiftCached::reseed ( uint64  seed0,
uint64  seed1 = 0 
)
inline

Definition at line 165 of file UT_XorShift.h.


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