Add 'xo-randomgen/' from commit '44a31724ec'
git-subtree-dir: xo-randomgen git-subtree-mainline:57170366dagit-subtree-split:44a31724ec
This commit is contained in:
commit
ae78de305f
21 changed files with 788 additions and 0 deletions
16
xo-randomgen/example/ex2/ex2.cpp
Normal file
16
xo-randomgen/example/ex2/ex2.cpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/* @file ex2.cpp */
|
||||
|
||||
#include "xo/randomgen/xoshiro256.hpp"
|
||||
#include "xo/randomgen/random_seed.hpp"
|
||||
|
||||
using namespace xo;
|
||||
using namespace xo::rng;
|
||||
|
||||
int
|
||||
main(int argc, char ** argv) {
|
||||
Seed<xoshiro256ss> seed;
|
||||
|
||||
xoshiro256ss eng(seed);
|
||||
} /*main*/
|
||||
|
||||
/* end ex2.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue