class mrpt::random::Generator_MT19937ΒΆ

Portable MT19937 random generator, C++11 UniformRandomBitGenerator compliant.

It is ensured to generate the same numbers on any compiler and system.

#include <mrpt/random/RandomGenerators.h>

class Generator_MT19937
{
public:
    // typedefs

    typedef uint32_t result_type;

    //
methods

    static constexpr result_type min();
    static constexpr result_type max();
    result_type operator () ();
    void seed(const uint32_t seed);
};