2950 COMPLEX*16 zero, one
2951 parameter ( zero = ( 0.0d0, 0.0d0 ),
2952 $ one = ( 1.0d0, 0.0d0 ) )
2954 parameter ( rogue = ( -1.0d10, 1.0d10 ) )
2955 DOUBLE PRECISION rzero
2956 parameter ( rzero = 0.0d0 )
2957 DOUBLE PRECISION rrogue
2958 parameter ( rrogue = -1.0d10 )
2961 INTEGER lda, m, n, nmax
2963 CHARACTER*1 diag, uplo
2966 COMPLEX*16 a( nmax, * ), aa( * )
2968 INTEGER i, ibeg, iend, j, jj
2969 LOGICAL gen, her, lower, sym, tri, unit, upper
2974 INTRINSIC dcmplx, dconjg, dble
2980 upper = ( her.OR.sym.OR.tri ).AND.uplo.EQ.
'U'
2981 lower = ( her.OR.sym.OR.tri ).AND.uplo.EQ.
'L'
2982 unit = tri.AND.diag.EQ.
'U'
2988 IF( gen.OR.( upper.AND.i.LE.j ).OR.( lower.AND.i.GE.j ) )
2990 a( i, j ) =
zbeg( reset ) + transl
2993 IF( n.GT.3.AND.j.EQ.n/2 )
2996 a( j, i ) = dconjg( a( i, j ) )
2998 a( j, i ) = a( i, j )
3006 $ a( j, j ) = dcmplx( dble( a( j, j ) ), rzero )
3008 $ a( j, j ) = a( j, j ) + one
3015 IF( type.EQ.
'GE' )
THEN
3018 aa( i + ( j - 1 )*lda ) = a( i, j )
3020 DO 40 i = m + 1, lda
3021 aa( i + ( j - 1 )*lda ) = rogue
3024 ELSE IF( type.EQ.
'HE'.OR.type.EQ.
'SY'.OR.type.EQ.
'TR' )
THEN
3041 DO 60 i = 1, ibeg - 1
3042 aa( i + ( j - 1 )*lda ) = rogue
3044 DO 70 i = ibeg, iend
3045 aa( i + ( j - 1 )*lda ) = a( i, j )
3047 DO 80 i = iend + 1, lda
3048 aa( i + ( j - 1 )*lda ) = rogue
3051 jj = j + ( j - 1 )*lda
3052 aa( jj ) = dcmplx( dble( aa( jj ) ), rrogue )
complex *16 function zbeg(RESET)