File: example-random_examples.md

package info (click to toggle)
mrpt 1%3A2.5.8%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 87,448 kB
  • sloc: cpp: 551,662; ansic: 38,702; xml: 3,914; python: 2,547; sh: 404; makefile: 237
file content (14 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\page random_examples Example: random_examples


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 class mrpt::math::CHistogram.
- The usage of MATLAB-like plots.


![random_examples screenshot](doc/source/images/random_examples_screenshot.png)
C++ example source code:
\include random_examples/test.cpp