LibreOffice Module comphelper (master)  1
Classes | Functions
comphelper::rng Namespace Reference

Classes

struct  RandomNumberGenerator
 
class  theRandomNumberGenerator
 

Functions

int uniform_int_distribution (int a, int b)
 uniform distribution in [a,b] More...
 
unsigned int uniform_uint_distribution (unsigned int a, unsigned int b)
 uniform distribution in [a,b] More...
 
size_t uniform_size_distribution (size_t a, size_t b)
 uniform distribution in [a,b] More...
 
double uniform_real_distribution (double a=0.0, double b=1.0)
 uniform distribution in [a,b) More...
 

Function Documentation

COMPHELPER_DLLPUBLIC int comphelper::rng::uniform_int_distribution ( int  a,
int  b 
)

uniform distribution in [a,b]

Definition at line 81 of file random.cxx.

COMPHELPER_DLLPUBLIC double comphelper::rng::uniform_real_distribution ( double  a,
double  b 
)

uniform distribution in [a,b)

Definition at line 108 of file random.cxx.

COMPHELPER_DLLPUBLIC size_t comphelper::rng::uniform_size_distribution ( size_t  a,
size_t  b 
)

uniform distribution in [a,b]

Definition at line 99 of file random.cxx.

COMPHELPER_DLLPUBLIC unsigned int comphelper::rng::uniform_uint_distribution ( unsigned int  a,
unsigned int  b 
)

uniform distribution in [a,b]

Definition at line 90 of file random.cxx.