MRPT  1.9.9
RandomGenerator.cpp File Reference
Include dependency graph for RandomGenerator.cpp:

Go to the source code of this file.

Functions

uint32_t hiBit (const uint32_t u)
 
uint32_t loBit (const uint32_t u)
 
uint32_t loBits (const uint32_t u)
 
uint32_t mixBits (const uint32_t u, const uint32_t v)
 
uint32_t twist (const uint32_t m, const uint32_t s0, const uint32_t s1)
 

Variables

static CRandomGenerator randomGenerator
 

Function Documentation

◆ hiBit()

uint32_t hiBit ( const uint32_t  u)
inline

Definition at line 26 of file RandomGenerator.cpp.

Referenced by mixBits().

Here is the caller graph for this function:

◆ loBit()

uint32_t loBit ( const uint32_t  u)
inline

Definition at line 27 of file RandomGenerator.cpp.

Referenced by twist().

Here is the caller graph for this function:

◆ loBits()

uint32_t loBits ( const uint32_t  u)
inline

Definition at line 28 of file RandomGenerator.cpp.

Referenced by mixBits().

Here is the caller graph for this function:

◆ mixBits()

uint32_t mixBits ( const uint32_t  u,
const uint32_t  v 
)
inline

Definition at line 29 of file RandomGenerator.cpp.

References hiBit(), and loBits().

Referenced by twist().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ twist()

uint32_t twist ( const uint32_t  m,
const uint32_t  s0,
const uint32_t  s1 
)
inline

Definition at line 33 of file RandomGenerator.cpp.

References loBit(), and mixBits().

Referenced by mrpt::random::Generator_MT19937::generateNumbers(), mrpt::hwdrivers::COpenNI2Sensor::loadConfig_sensorSpecific(), and mrpt::hwdrivers::CKinect::loadConfig_sensorSpecific().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ randomGenerator

CRandomGenerator randomGenerator
static

Definition at line 17 of file RandomGenerator.cpp.

Referenced by mrpt::random::getRandomGenerator().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019