106 integer,
intent(in) :: n, j, ldr
107 complex(real64),
intent(inout) :: R(ldr,*), u(*)
108 real(real64),
intent(out) :: rw(*)
109 integer,
intent(out) :: info
110 external zcopy,dznrm2,ztrsv,zqrtv1,zqrqh
112 real(real64) dznrm2,rho
118 else if (j < 1 .or. j > n+1)
then
131 if (imag(t) /= 0d0)
goto 30
134 if (r(i,i) == 0d0)
goto 20
137 call ztrsv(
'U',
'C',
'N',n,r,ldr,u,1)
140 rho = dble(t) - rho**2
141 if (rho <= 0d0)
goto 10
144 call zcopy(i,r(1,i),1,r(1,i+1),1)
147 call zcopy(n,u,1,r(1,j),1)
152 call zqrtv1(n+2-j,r(j,j),rw)
154 call zqrqh(n+2-j,n+1-j,r(j,j+1),ldr,rw,r(j+1,j))
subroutine zchinx(n, r, ldr, j, u, rw, info)
Updates a Cholesky factorization after inserting a row and column.
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 zqrqh(m, n, r, ldr, c, s)
Converts an upper trapezoidal matrix to upper Hessenberg form.
Module for custom error handling.