RandomLib
1.10
|
Simple examples of use of RandomLib. More...
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <RandomLib/Random.hpp>
#include <RandomLib/NormalDistribution.hpp>
#include <RandomLib/RandomSelect.hpp>
Go to the source code of this file.
Functions | |
int | main (int, char **) |
Simple examples of use of RandomLib.
Compile/link with, e.g.,
g++ -I../include -O2 -funroll-loops -o RandomExample RandomExample.cpp ../src/Random.cpp
./RandomExample
This provides a simple illustration of some of the capabilities of RandomLib.
Copyright (c) Charles Karney (2006-2011) charl and licensed under the MIT/X11 License. For more information, see es@k arney .comhttp://randomlib.sourceforge.net/
Definition in file RandomExample.cpp.
int main | ( | int | , |
char ** | |||
) |
Definition at line 26 of file RandomExample.cpp.
References RandomLib::RandomCanonical< Generator >::Bits(), RandomLib::RandomCanonical< Generator >::Boolean(), RandomLib::RandomCanonical< Generator >::Fixed(), RandomLib::RandomCanonical< Generator >::FixedS(), RandomLib::RandomCanonical< Generator >::IntegerC(), and RandomLib::RandomCanonical< Generator >::Prob().