ZLATTR

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

Purpose

ZLATTR 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.

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
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
ZLATMS).  Modified on exit.
N
(input) INTEGER
The order of the matrix to be generated.
A
(output) COMPLEX*16 array, dimension (LDA,N)
The triangular matrix A.  If UPLO = 'U', the leading N x N
upper triangular part of the array A contains the upper
triangular matrix, and the strictly lower triangular part of
A is not referenced.  If UPLO = 'L', the leading N x N lower
triangular part of the array A contains the lower triangular
matrix and the strictly upper triangular part of A is not
referenced.
LDA
(input) INTEGER
The leading dimension of the array A.  LDA >= max(1,N).
B
(output) COMPLEX*16 array, dimension (N)
The right hand side vector, if IMAT > 10.
WORK
(workspace) COMPLEX*16 array, dimension (2*N)
RWORK
(workspace) DOUBLE PRECISION array, dimension (N)
INFO
(output) INTEGER
= 0:  successful exit
< 0:  if INFO = -i, the i-th argument had an illegal value

Call Graph

Caller Graph