102 integer,
intent(in) :: n, ldr, i, j
103 complex(real32),
intent(inout) :: R(ldr,*)
104 complex(real32),
intent(out) :: w(*)
105 real(real32),
intent(out) :: rw(*)
106 external ccopy,cqrtv1,cqrqh,cqhqr
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 ccopy(n,r(1,i),1,w,1)
127 call ccopy(n,r(1,l+1),1,r(1,l),1)
129 call ccopy(n,w,1,r(1,j),1)
131 call cqhqr(n+1-i,n+1-i,r(i,i),ldr,rw,w)
134 call ccopy(n,r(1,i),1,w,1)
136 call ccopy(n,r(1,l-1),1,r(1,l),1)
138 call ccopy(n,w,1,r(1,j),1)
140 call cqrtv1(n+1-j,r(j,j),rw)
142 call cqrqh(n+1-j,n-j,r(j,j+1),ldr,rw,r(j+1,j))
subroutine cchshx(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 cqrtv1(n, u, w)
Generates Givens rotations to eliminate all but the first element of a vector.
subroutine cqhqr(m, n, r, ldr, c, s)
Reduces an upper Hessenberg matrix to upper trapezoidal form.
subroutine cqrqh(m, n, r, ldr, c, s)
Converts an upper trapezoidal matrix to upper Hessenberg form.
Module for custom error handling.