|
RandomLib
1.10
|
Using RandomLib to generate exact random results. More...
#include <iostream>#include <utility>#include <RandomLib/Random.hpp>#include <RandomLib/RandomNumber.hpp>#include <RandomLib/ExactNormal.hpp>#include <RandomLib/ExactExponential.hpp>#include <RandomLib/UniformInteger.hpp>#include <RandomLib/DiscreteNormal.hpp>#include <RandomLib/DiscreteNormalAlt.hpp>#include <RandomLib/InversePiProb.hpp>#include <RandomLib/InverseEProb.hpp>Go to the source code of this file.
Functions | |
| int | main (int, char **) |
Using RandomLib to generate exact random results.
Compile/link with, e.g.,
g++ -I../include -O2 -funroll-loops -o RandomExact RandomExact.cpp ../src/Random.cpp
./RandomExact
See Other random distributions, for more information.
Copyright (c) Charles Karney (2006-2012) charles@karney.com and licensed under the MIT/X11 License. For more information, see http://randomlib.sourceforge.net/
Definition in file RandomExact.cpp.
| int main | ( | int | , |
| char ** | |||
| ) |
Definition at line 29 of file RandomExact.cpp.
References RandomLib::UniformInteger< IntType, bits >::Entropy(), RandomLib::RandomNumber< bits >::Range(), and RandomLib::RandomNumber< bits >::Value().
1.8.6