Visible to Intel only — GUID: GUID-AAA388F1-9F61-4694-AB13-0BBBC467D956
Visible to Intel only — GUID: GUID-AAA388F1-9F61-4694-AB13-0BBBC467D956
Device Distributions
oneMKL RNG routines are used to generate random numbers with different types of distribution. Each function group is introduced below by the type of underlying distribution and contains a short description of its functionality, as well as specifications of the call sequence and the explanation of input and output parameters. The Device Continuous Distribution Generators table and Device Discrete Distribution Generators table list the random number generator routines with data types and output distributions, and sets correspondence between data types of the generator routines and the basic random number generators.
Device Continuous Distribution Generators
Type of Distribution |
Data Types |
BRNG Data Type |
Description |
---|---|---|---|
float, double |
float, double |
Uniform continuous distribution on the interval [a,b) |
|
float, double |
float, double |
Normal (Gaussian) distribution |
|
float, double |
float, double |
Exponential distribution |
|
float, double |
float, double |
Lognormal distribution |
Device Discrete Distribution Generators
Type of Distribution |
Data Types |
BRNG Data Type |
Description |
---|---|---|---|
integer |
float |
Uniform discrete distribution on the interval [a,b) |
|
integer |
integer |
Bits of underlying BRNG integer sequence |
|
integer |
integer |
Uniformly distributed bits in 32/64-bit chunks |
|
integer |
float |
Bernoulli distribution |
|
integer |
double |
Poisson distribution |