DLAGGE

   Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
   November 2006

Purpose

DLAGGE generates a real general m by n matrix A, by pre- and post-
multiplying a real diagonal matrix D with random orthogonal matrices:
A = U*D*V. The lower and upper bandwidths may then be reduced to
kl and ku by additional orthogonal transformations.

Arguments

M
(input) INTEGER
The number of rows of the matrix A.  M >= 0.
N
(input) INTEGER
The number of columns of the matrix A.  N >= 0.
KL
(input) INTEGER
The number of nonzero subdiagonals within the band of A.
0 <= KL <= M-1.
KU
(input) INTEGER
The number of nonzero superdiagonals within the band of A.
0 <= KU <= N-1.
D
(input) DOUBLE PRECISION array, dimension (min(M,N))
The diagonal elements of the diagonal matrix D.
A
(output) DOUBLE PRECISION array, dimension (LDA,N)
The generated m by n matrix A.
LDA
(input) INTEGER
The leading dimension of the array A.  LDA >= M.
ISEED
(input/output) 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.
On exit, the seed is updated.
WORK
(workspace) DOUBLE PRECISION array, dimension (M+N)
INFO
(output) INTEGER
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value

Call Graph

Caller Graph