77 COMPLEX A( NMAX, NMAX ), TAU( NMAX ),
93 COMMON / infoc / infot, nout, ok, lerr
94 COMMON / srnamc / srnamt
104 a( 1, 1 ) = cmplx( 1.0e+0, -1.0e+0 )
105 a( 1, 2 ) = cmplx( 2.0e+0, -2.0e+0 )
106 a( 2, 2 ) = cmplx( 3.0e+0, -3.0e+0 )
107 a( 2, 1 ) = cmplx( 4.0e+0, -4.0e+0 )
109 WRITE( nout, fmt = * )
113 IF( lsamen( 2, c2,
'QP' ) )
THEN
119 CALL cgeqp3( -1, 0, a, 1, ip, tau, w, lw, rw, info )
120 CALL chkxer(
'CGEQP3', infot, nout, lerr, ok )
122 CALL cgeqp3( 1, -1, a, 1, ip, tau, w, lw, rw, info )
123 CALL chkxer(
'CGEQP3', infot, nout, lerr, ok )
125 CALL cgeqp3( 2, 3, a, 1, ip, tau, w, lw, rw, info )
126 CALL chkxer(
'CGEQP3', infot, nout, lerr, ok )
128 CALL cgeqp3( 2, 2, a, 2, ip, tau, w, lw-10, rw, info )
129 CALL chkxer(
'CGEQP3', infot, nout, lerr, ok )
134 CALL alaesm( path, ok, nout )
subroutine alaesm(path, ok, nout)
ALAESM
subroutine chkxer(srnamt, infot, nout, lerr, ok)
subroutine cerrqp(path, nunit)
CERRQP
subroutine cgeqp3(m, n, a, lda, jpvt, tau, work, lwork, rwork, info)
CGEQP3