#include <LineSearch.h>
| Static Public Member Functions | |
| template<typename Foo > | |
| static void | Backtracking (Foo &f, Scalar &fx, Vector &x, Vector &grad, Scalar &step, const Vector &drt, const Vector &xp, const LBFGSParam< Scalar > ¶m) | 
| Private Types | |
| typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > | Vector | 
Line search algorithms for LBFGS. Mainly for internal use.
Definition at line 18 of file LineSearch.h.
| 
 | private | 
Definition at line 21 of file LineSearch.h.
| 
 | inlinestatic | 
Line search by backtracking.
| f | A function object such that f(x, grad)returns the objective function value atx, and overwritesgradwith the gradient. | 
| fx | In: The objective function value at the current point. Out: The function value at the new point. | 
| x | Out: The new point moved to. | 
| grad | In: The current gradient vector. Out: The gradient at the new point. | 
| step | In: The initial step length. Out: The calculated step length. | 
| drt | The current moving direction. | 
| xp | The current point. | 
| param | Parameters for the LBFGS algorithm | 
Definition at line 41 of file LineSearch.h.