110 integer,
intent(in) :: m, n, j, ldq, ldr
111 complex(real32),
intent(inout) :: Q(ldq,*)
112 complex(real32),
intent(inout) :: R(ldr,*)
113 complex(real32),
intent(inout) :: x(*)
114 real(real32),
intent(out) :: rw(*)
115 external ccopy,cqhqr,cqrot
121 else if (j < 1 .or. j > m+1)
then
132 call ccopy(j-1,q(1,i),1,q(1,i+1),1)
136 call ccopy(m+1-j,q(j,i),1,q(j+1,i+1),1)
149 if (k < m) r(m+1,k) = 0e0
156 call cqhqr(m+1,n,r,ldr,rw,x)
158 call cqrot(
'F',m+1,min(m,n)+1,q,ldq,rw,x)
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 cqhqr(m, n, r, ldr, c, s)
Reduces an upper Hessenberg matrix to upper trapezoidal form.
subroutine cqrinr(m, n, q, ldq, r, ldr, j, x, rw)
Updates a QR factorization after inserting a new row.
Module for custom error handling.