1DLARUV(1)           LAPACK auxiliary routine (version 3.2)           DLARUV(1)
2
3
4

NAME

6       DLARUV - returns a vector of n random real numbers from a uniform (0,1)
7

SYNOPSIS

9       SUBROUTINE DLARUV( ISEED, N, X )
10
11           INTEGER        N
12
13           INTEGER        ISEED( 4 )
14
15           DOUBLE         PRECISION X( N )
16

PURPOSE

18       DLARUV  returns  a vector of n random real numbers from a uniform (0,1)
19       distribution (n <= 128).
20       This is an auxiliary routine called by DLARNV and ZLARNV.
21

ARGUMENTS

23       ISEED   (input/output) INTEGER array, dimension (4)
24               On entry, the seed of the random number  generator;  the  array
25               elements  must be between 0 and 4095, and ISEED(4) must be odd.
26               On exit, the seed is updated.
27
28       N       (input) INTEGER
29               The number of random numbers to be generated. N <= 128.
30
31       X       (output) DOUBLE PRECISION array, dimension (N)
32               The generated random numbers.
33

FURTHER DETAILS

35       This routine uses a multiplicative  congruential  method  with  modulus
36       2**48 and multiplier 33952834046453 (see G.S.Fishman,
37       'Multiplicative  congruential  random  number  generators  with modulus
38       2**b: an exhaustive analysis for b = 32 and a partial analysis for b  =
39       48', Math. Comp. 189, pp 331-344, 1990).
40       48-bit integers are stored in 4 integer array elements with 12 bits per
41       element. Hence the routine is portable across machines with integers of
42       32 bits or more.
43
44
45
46 LAPACK auxiliary routine (versionNo3v.e2m)ber 2008                       DLARUV(1)
Impressum