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

◆ uniform_int_distribution()

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

uniform distribution in [a,b]

Definition at line 85 of file random.cxx.

References a.

◆ uniform_real_distribution()

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

uniform distribution in [a,b)

Definition at line 112 of file random.cxx.

References a.

◆ uniform_size_distribution()

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

uniform distribution in [a,b]

Definition at line 103 of file random.cxx.

References a.

◆ uniform_uint_distribution()

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

uniform distribution in [a,b]

Definition at line 94 of file random.cxx.

References a.