Main MRPT website > C++ reference for MRPT 1.5.7
Namespaces | Functions
RandomGenerator.cpp File Reference
#include "base-precomp.h"
#include <mrpt/random/RandomGenerators.h>
#include <mrpt/system/os.h>
#include <mrpt/system/datetime.h>
Include dependency graph for RandomGenerator.cpp:

Go to the source code of this file.

Namespaces

 mrpt
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
 mrpt::random
 A namespace of pseudo-random numbers genrators of diferent distributions.
 

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)
 
double mrpt::random::normalizedGaussian (double *likelihood)
 
double mrpt::random::RandomNormal (double mean, double std)
 
uint32_t mrpt::random::RandomUniInt ()
 
double mrpt::random::RandomUni (const double min, const double max)
 

Function Documentation

◆ hiBit()

uint32_t hiBit ( const uint32_t  u)
inline

Definition at line 43 of file RandomGenerator.cpp.

Referenced by mixBits().

◆ loBit()

uint32_t loBit ( const uint32_t  u)
inline

Definition at line 44 of file RandomGenerator.cpp.

Referenced by twist().

◆ loBits()

uint32_t loBits ( const uint32_t  u)
inline

Definition at line 45 of file RandomGenerator.cpp.

Referenced by mixBits().

◆ mixBits()

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

Definition at line 46 of file RandomGenerator.cpp.

References hiBit(), and loBits().

Referenced by twist().

◆ twist()

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



Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019