93 integer,
intent(in) :: n, ldr, i, j
94 real(real32),
intent(inout) :: R(ldr,*)
95 real(real32),
intent(out) :: w(*)
96 external scopy,sqrtv1,sqrqh,sqhqr
99 if (n == 0 .or. n == 1)
return
104 else if (i < 1 .or. i > n)
then
106 else if (j < 1 .or. j > n)
then
115 call scopy(n,r(1,i),1,w,1)
117 call scopy(n,r(1,l+1),1,r(1,l),1)
119 call scopy(n,w,1,r(1,j),1)
121 call sqhqr(n+1-i,n+1-i,r(i,i),ldr,w(n+1),w)
124 call scopy(n,r(1,i),1,w,1)
126 call scopy(n,r(1,l-1),1,r(1,l),1)
128 call scopy(n,w,1,r(1,j),1)
130 call sqrtv1(n+1-j,r(j,j),w(n+1))
132 call sqrqh(n+1-j,n-j,r(j,j+1),ldr,w(n+1),r(j+1,j))
subroutine schshx(n, r, ldr, i, j, w)
Updates a Cholesky factorization after a symmetric shift of rows and columns.
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 sqhqr(m, n, r, ldr, c, s)
Reduces an upper Hessenberg matrix to upper trapezoidal form.
subroutine sqrqh(m, n, r, ldr, c, s)
Converts an upper trapezoidal matrix to upper Hessenberg form.
Module for custom error handling.