nemo::Generator< T > Class Template Reference

Generic interface for generators of any kind. More...

#include <Random.h>

List of all members.

Public Member Functions

operator() ()
 Returns an object of type T.
virtual ~Generator ()

Protected Member Functions

virtual T generate ()
 Override this method to create a custom generator.

Detailed Description

template<typename T>
class nemo::Generator< T >

Generic interface for generators of any kind.

Definition at line 14 of file Random.h.


Constructor & Destructor Documentation

template<typename T >
virtual nemo::Generator< T >::~Generator (  )  [inline, virtual]

Definition at line 30 of file Random.h.


Member Function Documentation

template<typename T >
virtual T nemo::Generator< T >::generate (  )  [inline, protected, virtual]

Override this method to create a custom generator.

Reimplemented in nemo::uniform< T >, and nemo::gaussian< T >.

Definition at line 19 of file Random.h.

template<typename T >
T nemo::Generator< T >::operator() (  )  [inline]

Returns an object of type T.

Which one it is depends on the generator you are using

Definition at line 26 of file Random.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 25 12:49:59 2013 for NemoMath by  doxygen 1.6.3