104 integer,
intent(in) :: n, j, ldr
105 real(real32),
intent(inout) :: R(ldr,*)
106 real(real32),
intent(inout) :: u(*)
107 real(real32),
intent(out) :: w(*)
108 integer,
intent(out) :: info
109 external scopy,snrm2,strsv,sqrtv1,sqrqh
110 real(real32) snrm2,rho,t
116 else if (j < 1 .or. j > n+1)
then
130 if (r(i,i) == 0e0)
goto 20
133 call strsv(
'U',
'T',
'N',n,r,ldr,u,1)
137 if (rho <= 0e0)
goto 10
140 call scopy(i,r(1,i),1,r(1,i+1),1)
143 call scopy(n,u,1,r(1,j),1)
148 call sqrtv1(n+2-j,r(j,j),w)
150 call sqrqh(n+2-j,n+1-j,r(j,j+1),ldr,w,r(j+1,j))
subroutine schinx(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 sqrtv1(n, u, w)
Generates Givens rotations to eliminate all but the first element of a vector.
subroutine sqrqh(m, n, r, ldr, c, s)
Converts an upper trapezoidal matrix to upper Hessenberg form.
Module for custom error handling.