Implementation of pseudo-random number generators. More...
#include <cmath>
#include <stdio.h>
#include <stdint.h>
#include "viennashe/forwards.h"
#include "viennashe/log/log.hpp"
Go to the source code of this file.
Classes | |
class | viennashe::math::rand_generator_base< ValueT > |
The basic interface for pseudo-random number generators. More... | |
class | viennashe::math::std_rand_generator< ValueT > |
A pseudo-random number generator implementation based on std::rand() More... | |
class | viennashe::math::merseinne_twister_generator< ValueT > |
A pseudo-random number generator implementation using the merseinne twister MT 19937 cf. Makoto Matsumoto, Takuji Nishimura: Mersenne twister. "A 623-dimensionally equidistributed uniform pseudorandom number generator." ACM Transactions on Modeling and Computer Simulation 8, 1998. More... | |
class | viennashe::math::uniform_distribution< ResultT > |
A uniform distribution of random numbers. More... | |
class | viennashe::math::poisson_distribution< RealT, ResultT > |
A poisson (exponential) distribution of random numbers. More... | |
class | viennashe::math::normal_distribution< RealT, ResultT > |
Namespaces | |
namespace | viennashe |
The main ViennaSHE namespace. All functionality resides inside this namespace. | |
namespace | viennashe::math |
Namespace for all math specific code | |
Implementation of pseudo-random number generators.
Definition in file random.hpp.