MRPT
2.0.1
|
Random number generator C++ library support uniform, Gaussian, multivariable distributions.
Back to list of all libraries | See all modules
[New in MRPT 2.0.0]
This library is part of MRPT but it's pure C++11 and has no other dependencies. It can be installed in Debian-based systems with:
sudo apt install libmrpt-random-dev
See: Using MRPT from your CMake project
Classes | |
class | mrpt::random::Generator_MT19937 |
Portable MT19937 random generator, C++11 UniformRandomBitGenerator compliant. More... | |
class | mrpt::random::CRandomGenerator |
A thred-safe pseudo random number generator, based on an internal MT19937 randomness generator. More... | |
Namespaces | |
mrpt::random | |
A namespace of pseudo-random numbers generators of diferent distributions. | |
Functions | |
template<class RandomIt , class URBG > | |
void | mrpt::random::shuffle (RandomIt first, RandomIt last, URBG &&g) |
Uniform shuffle a sequence. More... | |
template<class RandomIt > | |
void | mrpt::random::shuffle (RandomIt first, RandomIt last) |
Uniform shuffle a sequence. More... | |
void mrpt::random::shuffle | ( | RandomIt | first, |
RandomIt | last, | ||
URBG && | g | ||
) |
Uniform shuffle a sequence.
Definition at line 24 of file random_shuffle.h.
Referenced by mrpt::random::CRandomGenerator::permuteVector(), mrpt::slam::PF_implementation< mrpt::math::TPose3D, CMonteCarloLocalization3D, mrpt::bayes::particle_storage_mode::VALUE >::PF_SLAM_implementation_pfAuxiliaryPFStandardAndOptimal(), mrpt::math::ModelSearch::pickRandomIndex(), and mrpt::random::shuffle().
void mrpt::random::shuffle | ( | RandomIt | first, |
RandomIt | last | ||
) |
Uniform shuffle a sequence.
Definition at line 39 of file random_shuffle.h.
References mrpt::random::shuffle().
Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020 |