Theoretica
A C++ numerical and automatic mathematical library
prng.h File Reference

Pseudorandom number generator class. More...

#include <vector>
#include "./pseudorandom.h"
#include "../core/error.h"

Go to the source code of this file.

Classes

class  theoretica::PRNG
 A pseudorandom number generator. More...
 

Namespaces

 theoretica
 Main namespace of the library which contains all functions and objects.
 

Functions

template<typename Vector >
void theoretica::shuffle (Vector &v, PRNG &g, unsigned int rounds=0)
 Shuffle a set by exchanging random couples of elements. More...
 

Detailed Description

Pseudorandom number generator class.