76 COMPLEX A( NMAX, ), T( NMAX, NMAX ), W( NMAX ),
89 COMMON / infoc / infot, nout, ok, lerr
90 COMMON / srnamc / srnamt
93 INTRINSIC float,
cmplx
98 WRITE( nout, fmt = * )
104 a( i, j ) = 1.0 /
cmplx( float(i+j), 0.0 )
105 c( i, j ) = 1.0 /
cmplx( float
106 t( i, j ) = 1.0 /
cmplx( float(i+j), 0.0 )
118 CALL cgeqrt( -1, 0, 1, a, 1, t, 1, w, info )
119 CALL chkxer(
'CGEQRT', infot, nout, lerr, ok )
121 CALL cgeqrt( 0, -1, 1, a, 1, t, 1, w, info )
122 CALL chkxer(
'CGEQRT', infot, nout, lerr, ok )
124 CALL cgeqrt( 0, 0, 0, a, 1, t, 1, w, info )
125 CALL chkxer(
'CGEQRT', infot, nout, lerr, ok )
127 CALL cgeqrt( 2, 1, 1, a, 1, t, 1, w, info )
128 CALL chkxer(
'CGEQRT', infot, nout, lerr, ok )
130 CALL cgeqrt( 2, 2, 2, a, 2, t, 1, w, info )
131 CALL chkxer(
'CGEQRT', infot, nout, lerr, ok )
137 CALL cgeqrt2( -1, 0, a, 1, t, 1, info )
138 CALL chkxer(
'CGEQRT2', infot, nout, lerr, ok )
140 CALL cgeqrt2( 0, -1, a, 1, t, 1, info )
141 CALL chkxer(
'CGEQRT2', infot, nout, lerr, ok )
143 CALL cgeqrt2( 2, 1, a, 1, t, 1, info )
144 CALL chkxer(
'CGEQRT2', infot, nout, lerr, ok )
146 CALL cgeqrt2( 2, 2, a, 2, t, 1, info )
147 CALL chkxer(
'CGEQRT2', infot, nout, lerr, ok )
153 CALL cgeqrt3( -1, 0, a, 1, t, 1, info )
154 CALL chkxer(
'CGEQRT3', infot, nout, lerr, ok )
156 CALL cgeqrt3( 0, -1, a, 1, t, 1, info )
157 CALL chkxer(
'CGEQRT3', infot, nout, lerr, ok )
159 CALL cgeqrt3( 2, 1, a, 1, t, 1, info )
160 CALL chkxer(
'CGEQRT3', infot, nout, lerr, ok )
162 CALL cgeqrt3( 2, 2, a, 2, t, 1, info )
163 CALL chkxer(
'CGEQRT3', infot, nout, lerr, ok
169 CALL cgemqrt(
'/',
'N', 0, 0, 0, 1, a, 1, t, 1, c, 1, w, info )
170 CALL chkxer(
'CGEMQRT', infot, nout, lerr, ok )
172 CALL cgemqrt(
'L',
'/', 0, 0, 0, 1, a, 1, t, 1, c, 1, w, info )
173 CALL chkxer(
'CGEMQRT', infot, nout, lerr, ok )
175 CALL cgemqrt(
'L',
'N', -1, 0, 0, 1, a, 1, t, 1, c, 1, w, info )
176 CALL chkxer(
'CGEMQRT', infot, nout, lerr, ok )
178 CALL cgemqrt(
'L',
'N', 0, -1, 0, 1, a, 1, t, 1, c, 1, w, info )
181 CALL cgemqrt(
'L',
'N', 0, 0, -1, 1, a, 1, t, 1, c, 1, w, info )
182 CALL chkxer(
'CGEMQRT', infot, nout, lerr, ok )
184 CALL cgemqrt(
'R',
'N', 0, 0, -1, 1, a, 1, t, 1, c, 1, w, info )
185 CALL chkxer(
'CGEMQRT', infot, nout, lerr, ok )
187 CALL cgemqrt(
'L',
'N', 0, 0, 0, 0, a, 1, t, 1, c, 1, w, info )
188 CALL chkxer(
'CGEMQRT', infot, nout, lerr, ok )
190 CALL cgemqrt(
'R', 'n
', 1, 2, 1, 1, A, 1, T, 1, C, 1, W, INFO )
191 CALL CHKXER( 'cgemqrt', INFOT, NOUT, LERR, OK )
193 CALL CGEMQRT( 'l
', 'n
', 2, 1, 1, 1, A, 1, T, 1, C, 1, W, INFO )
194 CALL CHKXER( 'cgemqrt', INFOT, NOUT, LERR, OK )
196 CALL CGEMQRT( 'r
', 'n
', 1, 1, 1, 1, A, 1, T, 0, C, 1, W, INFO )
197 CALL CHKXER( 'cgemqrt', INFOT, NOUT, LERR, OK )
199 CALL CGEMQRT( 'l
', 'n
', 1, 1, 1, 1, A, 1, T, 1, C, 0, W, INFO )
200 CALL CHKXER( 'cgemqrt', INFOT, NOUT, LERR, OK )
204 CALL ALAESM( PATH, OK, NOUT )