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

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 83 of file random.cxx.

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

uniform distribution in [a,b)

Definition at line 110 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 101 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 92 of file random.cxx.