99subroutine sqrder(m,n,Q,ldq,R,ldr,j,w)
102 integer,
intent(in) :: m, n, j, ldq, ldr
103 real(real32),
intent(inout) :: Q(ldq,*), R(ldr,*)
104 real(real32),
intent(out) :: w(*)
105 external scopy,sqrtv1,sqrot,sqrqh
113 else if (j < 1 .or. j > m)
then
121 call scopy(m,q(j,1),ldq,w,1)
124 call sqrot(
'B',m,m,q,ldq,w(m+1),w(2))
127 if (j > 1)
call scopy(j-1,q(1,k+1),1,q(1,k),1)
128 if (j < m)
call scopy(m-j,q(j+1,k+1),1,q(j,k),1)
131 call sqrqh(m,n,r,ldr,w(m+1),w(2))
subroutine qrupdate_xerror(srname, info)
Dispatches error reporting to the handler.
subroutine sqrtv1(n, u, w)
Generates Givens rotations to eliminate all but the first element of a vector.
subroutine sqrot(dir, m, n, q, ldq, c, s)
Applies a sequence of Givens rotations from the right to a matrix.
subroutine sqrqh(m, n, r, ldr, c, s)
Converts an upper trapezoidal matrix to upper Hessenberg form.
subroutine sqrder(m, n, q, ldq, r, ldr, j, w)
Updates a QR factorization after deleting a row.
Module for custom error handling.