106 integer,
intent(in) :: n, j, ldr
107 integer,
intent(out) :: info
108 complex(real32),
intent(inout) :: R(ldr,*)
109 complex(real32),
intent(inout) :: u(*)
110 real(real32),
intent(out) :: rw(*)
111 external ccopy,scnrm2,ctrsv,cqrtv1,cqrqh
113 real(real32) scnrm2,rho
119 else if (j < 1 .or. j > n+1)
then
132 if (imag(t) /= 0e0)
goto 30
135 if (r(i,i) == 0e0)
goto 20
138 call ctrsv(
'U',
'C',
'N',n,r,ldr,u,1)
141 rho = real(t, real32) - rho**2
142 if (rho <= 0e0)
goto 10
145 call ccopy(i,r(1,i),1,r(1,i+1),1)
148 call ccopy(n,u,1,r(1,j),1)
153 call cqrtv1(n+2-j,r(j,j),rw)
155 call cqrqh(n+2-j,n+1-j,r(j,j+1),ldr,rw,r(j+1,j))
subroutine cchinx(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 cqrtv1(n, u, w)
Generates Givens rotations to eliminate all but the first element of a vector.
subroutine cqrqh(m, n, r, ldr, c, s)
Converts an upper trapezoidal matrix to upper Hessenberg form.
Module for custom error handling.