A common interface for random-number generators. More...
#include <Randomized.h>
Inheritance diagram for randomized::Randomized:
Collaboration diagram for randomized::Randomized:Public Types | |
| typedef boost::shared_ptr< Randomized > | Ptr |
Public Member Functions | |
| double | operator() () |
| sampling of uniform distribution over the interval [0:1) | |
| const dcomp | dcompRan () |
| sampling of a uniform distribution over unit square on the complex plane | |
Friends | |
| class | boost::serialization::access |
Related Functions | |
(Note that these are not member functions.) | |
| template<typename D > | |
| const D | sample (Randomized::Ptr ran) |
| template<> | |
| const double | sample (Randomized::Ptr ran) |
| template<> | |
| const dcomp | sample (Randomized::Ptr ran) |
A common interface for random-number generators.
The class can serialize the state of the generator allowing for restoration from an archive (cf. Boost.Serialization)
Definition at line 43 of file Randomized.h.
|
related |
|
related |
Definition at line 97 of file Randomized.h.
Definition at line 105 of file Randomized.h.