CLATTB
Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
November 2006
November 2006
Purpose
CLATTB generates a triangular test matrix in 2-dimensional storage.
IMAT and UPLO uniquely specify the properties of the test matrix,
which is returned in the array A.
IMAT and UPLO uniquely specify the properties of the test matrix,
which is returned in the array A.
Arguments
IMAT |
(input) INTEGER
An integer key describing which matrix to generate for this
path. |
UPLO |
(input) CHARACTER*1
Specifies whether the matrix A will be upper or lower
triangular. = 'U': Upper triangular = 'L': Lower triangular |
TRANS |
(input) CHARACTER*1
Specifies whether the matrix or its transpose will be used.
= 'N': No transpose = 'T': Transpose = 'C': Conjugate transpose (= transpose) |
DIAG |
(output) CHARACTER*1
Specifies whether or not the matrix A is unit triangular.
= 'N': Non-unit triangular = 'U': Unit triangular |
ISEED |
(input/output) INTEGER array, dimension (4)
The seed vector for the random number generator (used in
CLATMS). Modified on exit. |
N |
(input) INTEGER
The order of the matrix to be generated.
|
KD |
(input) INTEGER
The number of superdiagonals or subdiagonals of the banded
triangular matrix A. KD >= 0. |
AB |
(output) COMPLEX array, dimension (LDAB,N)
The upper or lower triangular banded matrix A, stored in the
first KD+1 rows of AB. Let j be a column of A, 1<=j<=n. If UPLO = 'U', AB(kd+1+i-j,j) = A(i,j) for max(1,j-kd)<=i<=j. If UPLO = 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+kd). |
LDAB |
(input) INTEGER
The leading dimension of the array AB. LDAB >= KD+1.
|
B |
(workspace) COMPLEX array, dimension (N)
|
WORK |
(workspace) COMPLEX array, dimension (2*N)
|
RWORK |
(workspace) REAL array, dimension (N)
|
INFO |
(output) INTEGER
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value |