RandomLib  1.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Functions
RandomSave.cpp File Reference

Examples of saving and restore the state with RandomLib. More...

#include <iostream>
#include <fstream>
#include <string>
#include <RandomLib/Random.hpp>

Go to the source code of this file.

Functions

int main (int, char **)
 

Detailed Description

Examples of saving and restore the state with RandomLib.

Compile/link with, e.g.,
g++ -DHAVE_BOOST_SERIALIZATION -I../include -O2 -funroll-loops -lboost_serialization-mt -o RandomSave RandomSave.cpp ../src/Random.cpp
./RandomSave

See Saving and restoring the state, for more information.

Copyright (c) Charles Karney (2011) charl.nosp@m.es@k.nosp@m.arney.nosp@m..com and licensed under the MIT/X11 License. For more information, see http://randomlib.sourceforge.net/

Definition in file RandomSave.cpp.

Function Documentation

int main ( int  ,
char **   
)

Definition at line 31 of file RandomSave.cpp.

References RandomLib::RandomCanonical< Generator >::Fixed().