35 subroutine bmv(m, sy, wt, col, v, p, info)
38 double precision sy(m, m), wt(m, m), v(2*col), p(2*col)
56 if (col .eq. 0)
return
62 p(col + 1) = v(col + 1)
67 sum = sum + sy(i,k)*v(k)/sy(k,k)
73 call dtrsm(
'l',
'u',
't',
'n',col,1,one,wt,m,p(col+1),col)
79 p(i) = v(i)/sqrt(sy(i,i))
88 call dtrsm(
'l',
'u',
'n',
'n',col,1,one,wt,m,p(col+1),col)
94 p(i) = -p(i)/sqrt(sy(i,i))
99 sum = sum + sy(k,i)*p(col+k)/sy(i,i)
subroutine bmv(m, sy, wt, col, v, p, info)
This subroutine computes the product of the 2m x 2m middle matrix in the compact L-BFGS formula of B ...