93 integer,
intent(in) :: n, ldr, i, j
94 real(real64),
intent(inout) :: R(ldr,*)
95 real(real64),
intent(out) :: w(*)
96 external dcopy,dqrtv1,dqrqh,dqhqr
99 if (n == 0 .or. n == 1)
return
104 else if (i < 1 .or. i > n)
then
106 else if (j < 1 .or. j > n)
then
115 call dcopy(n,r(1,i),1,w,1)
117 call dcopy(n,r(1,l+1),1,r(1,l),1)
119 call dcopy(n,w,1,r(1,j),1)
121 call dqhqr(n+1-i,n+1-i,r(i,i),ldr,w(n+1),w)
124 call dcopy(n,r(1,i),1,w,1)
126 call dcopy(n,r(1,l-1),1,r(1,l),1)
128 call dcopy(n,w,1,r(1,j),1)
130 call dqrtv1(n+1-j,r(j,j),w(n+1))
132 call dqrqh(n+1-j,n-j,r(j,j+1),ldr,w(n+1),r(j+1,j))
subroutine dchshx(n, r, ldr, i, j, w)
Updates a Cholesky factorization after a symmetric shift of rows and columns.
subroutine qrupdate_xerror(srname, info)
Dispatches error reporting to the handler.
subroutine dqrtv1(n, u, w)
Generates Givens rotations to eliminate all but the first element of a vector.
subroutine dqrqh(m, n, r, ldr, c, s)
Converts an upper trapezoidal matrix to upper Hessenberg form.
subroutine dqhqr(m, n, r, ldr, c, s)
Reduces an upper Hessenberg matrix to upper trapezoidal form.
Module for custom error handling.