Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::jmath::RandomIntTmplt< IntType > Class Template Reference

Detailed Description

template<class IntType>
class jafar::jmath::RandomIntTmplt< IntType >

Definition at line 33 of file randomIntTmplt.hpp.

List of all members.

Public Member Functions

 RandomIntTmplt (IntType min_=0, IntType max_=9, uint64_t unSeed=1)
IntType get ()
 get the random interger
void SetSeed (uint64_t unSeed)
 change the seed

Private Attributes

boost::rand48 r_n_gen
boost::uniform_int unif_dist
 Random Number Generator.
boost::variate_generator
< boost::rand48
&, boost::uniform_int<> > 
v_g
 uniform distribution type

Member Function Documentation

template<class IntType >
IntType RandomIntTmplt::get ( )

get the random interger

this function return in each call a different integer randomly selected from the rang [min,max]

Definition at line 118 of file randomIntTmplt.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:40 for Jafar by doxygen 1.7.6.1
LAAS-CNRS