Example: Random number generation
1. Description
MRPT includes a C++ platform-independent implementation of the MT19937 algorithm for generating high-quality pseudo-random numbers. The following example demonstrates:
- The usage of random number generators in MRPT. See mrpt::random for the detailed documentation of C++ classes and methods. The main class is CRandomGenerator.
- The class CHistogram.
- The usage of MATLAB-like plots.
2. Screenshot
3. Source code
Available in this directory: https://github.com/MRPT/mrpt/tree/master/samples/random_examples