cppcore
A small, portable C++ core library
Loading...
Searching...
No Matches
RandomGenerator.cpp File Reference
#include <cppcore/Random/RandomGenerator.h>
#include <stdlib.h>
#include <time.h>
#include <cassert>
Include dependency graph for RandomGenerator.cpp:

Go to the source code of this file.

Namespaces

namespace  cppcore

Functions

static bool cppcore::mersenne_twister_vector_init (unsigned int *seedPoints, size_t len)
static bool cppcore::mersenne_twister_vector_update (unsigned int *const p)
unsigned int cppcore::mersenne_twister ()

Variables

static constexpr unsigned int cppcore::N = 624
static constexpr unsigned int cppcore::M = 397