.TH "TESTING/MATGEN/clagsy.f" 3 "Version 3.12.0" "LAPACK" \" -*- nroff -*- .ad l .nh .SH NAME TESTING/MATGEN/clagsy.f .SH SYNOPSIS .br .PP .SS "Functions/Subroutines" .in +1c .ti -1c .RI "subroutine \fBclagsy\fP (n, k, d, a, lda, iseed, work, info)" .br .RI "\fBCLAGSY\fP " .in -1c .SH "Function/Subroutine Documentation" .PP .SS "subroutine clagsy (integer n, integer k, real, dimension( * ) d, complex, dimension( lda, * ) a, integer lda, integer, dimension( 4 ) iseed, complex, dimension( * ) work, integer info)" .PP \fBCLAGSY\fP .PP \fBPurpose:\fP .RS 4 .PP .nf CLAGSY generates a complex symmetric matrix A, by pre- and post- multiplying a real diagonal matrix D with a random unitary matrix: A = U*D*U**T\&. The semi-bandwidth may then be reduced to k by additional unitary transformations\&. .fi .PP .RE .PP \fBParameters\fP .RS 4 \fIN\fP .PP .nf N is INTEGER The order of the matrix A\&. N >= 0\&. .fi .PP .br \fIK\fP .PP .nf K is INTEGER The number of nonzero subdiagonals within the band of A\&. 0 <= K <= N-1\&. .fi .PP .br \fID\fP .PP .nf D is REAL array, dimension (N) The diagonal elements of the diagonal matrix D\&. .fi .PP .br \fIA\fP .PP .nf A is COMPLEX array, dimension (LDA,N) The generated n by n symmetric matrix A (the full matrix is stored)\&. .fi .PP .br \fILDA\fP .PP .nf LDA is INTEGER The leading dimension of the array A\&. LDA >= N\&. .fi .PP .br \fIISEED\fP .PP .nf ISEED is 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\&. .fi .PP .br \fIWORK\fP .PP .nf WORK is COMPLEX array, dimension (2*N) .fi .PP .br \fIINFO\fP .PP .nf INFO is INTEGER = 0: successful exit < 0: if INFO = -i, the i-th argument had an illegal value .fi .PP .RE .PP \fBAuthor\fP .RS 4 Univ\&. of Tennessee .PP Univ\&. of California Berkeley .PP Univ\&. of Colorado Denver .PP NAG Ltd\&. .RE .PP .PP Definition at line \fB101\fP of file \fBclagsy\&.f\fP\&. .SH "Author" .PP Generated automatically by Doxygen for LAPACK from the source code\&.