9.7.1 linesearch and 9.7.2 Newton


matth
01-05-2013, 01:38 PM
This is probably a very simple question:
In 9.7.2 two vectors g and p are computed from fjac and fvec, that are then used in the linesearch algorithm.
Seeing how they are computed, I am unsure what the variables stand for in the mathematical notation:
g seems to be the gradient vector \nabla f = J*F and is computed as fjac(j,i)*fvec(j).
p seems to be the Newton step vector \delta x = -J^-1*F but is computed as -fvec(i).
Could someone please clarify what g and p (and fvec) are?