why loop of i only has variable j
tiemuhua opened this issue · 2 comments
tiemuhua commented
ZhepeiWang commented
These code blocks are the two-loop recursions of limited memory update (https://en.wikipedia.org/wiki/Limited-memory_BFGS). The variable "i" is just used for counting the number of loops. It is the variable "j" that sequentially accesses the memorized "s" and "y".
ZhepeiWang commented
Appreciate your review of this repo. I close it here but any further issue is welcomed.