MRPT  2.0.4
Functions | Variables
RandomGenerator.cpp File Reference
#include "random-precomp.h"
#include <mrpt/random/RandomGenerators.h>
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 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020