libigl v2.5.0
Loading...
Searching...
No Matches
line_search.h File Reference
#include "igl_inline.h"
#include <Eigen/Dense>
#include "line_search.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

double igl::line_search (Eigen::MatrixXd &x, const Eigen::MatrixXd &d, double i_step_size, std::function< double(Eigen::MatrixXd &)> energy, double cur_energy=-1)
 Implement a bisection linesearch to minimize a mesh-based energy on vertices given at 'x' at a search direction 'd', with initial step size.