102 integer,
intent(in) :: n, ldr, i, j
103 complex(real64),
intent(inout) :: R(ldr,*)
104 complex(real64),
intent(out) :: w(*)
105 real(real64),
intent(out) :: rw(*)
106 external zcopy,zqrtv1,zqrqh,zqhqr
109 if (n == 0 .or. n == 1)
return
114 else if (i < 1 .or. i > n)
then
116 else if (j < 1 .or. j > n)
then
125 call zcopy(n,r(1,i),1,w,1)
127 call zcopy(n,r(1,l+1),1,r(1,l),1)
129 call zcopy(n,w,1,r(1,j),1)
131 call zqhqr(n+1-i,n+1-i,r(i,i),ldr,rw,w)
134 call zcopy(n,r(1,i),1,w,1)
136 call zcopy(n,r(1,l-1),1,r(1,l),1)
138 call zcopy(n,w,1,r(1,j),1)
140 call zqrtv1(n+1-j,r(j,j),rw)
142 call zqrqh(n+1-j,n-j,r(j,j+1),ldr,rw,r(j+1,j))
subroutine zchshx(n, r, ldr, i, j, w, rw)
Updates a Cholesky factorization after a symmetric shift of rows and columns.
subroutine qrupdate_xerror(srname, info)
Dispatches error reporting to the handler.
subroutine zqrtv1(n, u, w)
Generates Givens rotations to eliminate all but the first element of a vector.
subroutine zqhqr(m, n, r, ldr, c, s)
Reduces an upper Hessenberg matrix to upper trapezoidal form.
subroutine zqrqh(m, n, r, ldr, c, s)
Converts an upper trapezoidal matrix to upper Hessenberg form.
Module for custom error handling.