104 integer,
intent(in) :: n, j, ldr
105 integer,
intent(out) :: info
106 real(real64),
intent(inout) :: R(ldr,*)
107 real(real64),
intent(inout) :: u(*)
108 real(real64),
intent(out) :: w(*)
109 external dcopy,dnrm2,dtrsv,dqrtv1,dqrqh
110 real(real64) dnrm2,rho,t
116 else if (j < 1 .or. j > n+1)
then
130 if (r(i,i) == 0d0)
goto 20
133 call dtrsv(
'U',
'T',
'N',n,r,ldr,u,1)
137 if (rho <= 0d0)
goto 10
140 call dcopy(i,r(1,i),1,r(1,i+1),1)
143 call dcopy(n,u,1,r(1,j),1)
148 call dqrtv1(n+2-j,r(j,j),w)
150 call dqrqh(n+2-j,n+1-j,r(j,j+1),ldr,w,r(j+1,j))
subroutine dchinx(n, r, ldr, j, u, w, info)
Updates a Cholesky factorization after inserting a row and column.
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.
Module for custom error handling.