#include <CTiglOptimizer.h>
Static Public Member Functions | |
| static TIGL_EXPORT TiglReturnCode | optNewton2d (const class ITiglObjectiveFunction &f, double *x, double gradTol=1e-5, double ofTol=1e-5) |
| Optimizes the objective function f. | |
Static Private Member Functions | |
| static double | armijoBacktrack2d (const class ITiglObjectiveFunction &f, const double *x, const double *grad, double *dir, double alpha, double &ofval) |
|
staticprivate |
|
static |
Optimizes the objective function f.
| f | (in) Objective function |
| x | (in/out) The function is initialized with the initial guess x and returns the solution x. |
| gradTol | Norm of the gradient df/dx, when to stop optimizing. |
| ofTol | Relative change of the objective function, when to stop optimizing. |