Visible to Intel only — GUID: GUID-561A8D90-F00B-4399-A6D1-DB15130D7558
Visible to Intel only — GUID: GUID-561A8D90-F00B-4399-A6D1-DB15130D7558
?laran
Returns a random real number from a uniform distribution.
float slaran (lapack_int *iseed);
double dlaran (lapack_int *iseed);
The ?laran routine returns a random real number from a uniform (0,1) distribution. This routine uses a multiplicative congruential method with modulus 248 and multiplier 33952834046453. 48-bit integers are stored in four integer array elements with 12 bits per element. Hence the routine is portable across machines with integers of 32 bits or more.
- iseed
-
Array, size 4. On entry, the seed of the random number generator. The array elements must be between 0 and 4095, and iseed[3] must be odd.
iseed |
On exit, the seed is updated. |
The function returns a random number.