111 integer,
intent(in) :: m, n, k, ldq, ldr, j
112 complex(real32),
intent(inout) :: Q(ldq,*)
113 complex(real32),
intent(inout) :: R(ldr,*)
114 real(real32),
intent(out) :: rw(*)
115 external ccopy,cqhqr,cqrot
118 if (m == 0 .or. n == 0 .or. j == n)
return
125 else if (k /= m .and. (k /= n .or. n >= m))
then
127 else if (ldq < m)
then
129 else if (ldr < k)
then
131 else if (j < 1 .or. j > n+1)
then
140 call ccopy(k,r(1,i+1),1,r(1,i),1)
144 call cqhqr(k+1-j,n-j,r(j,j),ldr,rw,r(1,n))
146 call cqrot(
'F',m,min(k,n)+1-j,q(1,j),ldq,rw,r(1,n))
subroutine qrupdate_xerror(srname, info)
Dispatches error reporting to the handler.
subroutine cqrot(dir, m, n, q, ldq, c, s)
Applies a sequence of Givens rotations from the right to a matrix.
subroutine cqrdec(m, n, k, q, ldq, r, ldr, j, rw)
Updates a QR factorization after deleting a column.
subroutine cqhqr(m, n, r, ldr, c, s)
Reduces an upper Hessenberg matrix to upper trapezoidal form.
Module for custom error handling.