##
## INPUT:
##
- ## - ``g`` -- The gradient of f.
+ ## - ``g`` -- The gradient of f at x.
##
## - ``Q`` -- The positive-definite matrix in the definition of
## ``f`` above.
##
## All vectors are assumed to be *column* vectors.
##
- alpha = -(g' * p)/(p' * Q * p)
+ alpha = -(g' * p)/(p' * Q * p);
end