Intel® oneAPI Data Analytics Library Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Uniform Distribution
Generates random numbers uniformly distributed on the interval 
.
Details
Uniform random number generator fills the input 
 numeric table with values that are uniformly distributed on the interval 
, where 
 and 
.
The probability density is given by:
 
   The cumulative distribution function is as follows:
 
   Batch Processing
Algorithm Parameters
Uniform distribution algorithm has the following parameters in addition to the common parameters specified in Distributions:
Parameter  |  
        Default Value  |  
        Description  |  
       
|---|---|---|
algorithmFPType  |  
        float  |  
        The floating-point type that the algorithm uses for intermediate computations. Can be float or double.  |  
       
method  |  
        defaultDense  |  
        Performance-oriented computation method, the only method supported by the algorithm.  |  
       
a  |  
        0.0  |  
        The left bound a.  |  
       
b  |  
        1.0  |  
        The right bound b.  |  
       
Examples
Python*
Batch Processing: