Visible to Intel only — GUID: GUID-E4F7A41C-B246-4164-A4A0-9F726B2242BC
Visible to Intel only — GUID: GUID-E4F7A41C-B246-4164-A4A0-9F726B2242BC
?laruv
Returns a vector of n random real numbers from a uniform distribution.
Syntax
call slaruv( iseed, n, x )
call dlaruv( iseed, n, x )
Include Files
- mkl.fi
Description
The routine ?laruv returns a vector of n random real numbers from a uniform (0,1) distribution (n ≤ 128).
This is an auxiliary routine called by ?larnv.
Input Parameters
- iseed
-
INTEGER. Array, DIMENSION (4). On entry, the seed of the random number generator; the array elements must be between 0 and 4095, and iseed(4) must be odd.
- n
-
INTEGER. The number of random numbers to be generated. n ≤ 128.
Output Parameters
- x
-
REAL for slaruv
DOUBLE PRECISION for dlaruv
Array, DIMENSION (n). The generated random numbers.
- seed
-
On exit, the seed is updated.