L-BFGS-B  3.0
Large-scale Bound-constrained Optimization
formt.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine formt (m, wt, sy, ss, col, theta, info)
 Forms the upper half of the pos. def. and symm. T. More...
 

Function/Subroutine Documentation

◆ formt()

subroutine formt ( integer  m,
double precision, dimension(m, m)  wt,
double precision, dimension(m, m)  sy,
double precision, dimension(m, m)  ss,
integer  col,
double precision  theta,
integer  info 
)

This subroutine forms the upper half of the pos. def. and symm. T = theta*SS + L*D^(-1)*L', stores T in the upper triangle of the array wt, and performs the Cholesky factorization of T to produce J*J', with J' stored in the upper triangle of wt.

Parameters
mhistory size of approximated Hessian
wtpart of L-BFGS matrix
sypart of L-BFGS matrix
sspart of L-BFGS matrix
colOn entry col is the actual number of variable metric corrections stored so far.
On exit col is unchanged.
thetaOn entry theta is the scaling factor specifying B_0 = theta I.
On exit theta is unchanged.
infoerror/success indicator

Definition at line 21 of file formt.f.

Referenced by mainlb().

Here is the caller graph for this function: