This file contains various functions to find the roots (zeros) or the local minima and maxima of a function. More...
#include <stdexcept>
#include <Eigen/Core>
#include <Eigen/Dense>
#include "Coordinate.hpp"
#include "Definitions.hpp"
Go to the source code of this file.
Classes | |
struct | TRTK::Optimization::Options< ValueType > |
Structure used by several functions to control their operation. More... | |
struct | TRTK::Optimization::Result< ValueType > |
Structure returned by several functions. More... | |
class | TRTK::Optimization::Gradient< Function, ValueType > |
Generates a functor which is the gradient of the given function. More... | |
Namespaces | |
namespace | TRTK |
Namespace of the Transformation and Registration Toolkit. | |
namespace | TRTK::Optimization |
This namespace contains various classes and functions to find the roots (zeros) or the local minima and maxima of a function. | |
Functions | |
template<class Function , class ValueType > | |
Eigen::Matrix< ValueType, Eigen::Dynamic, Eigen::Dynamic > | TRTK::Optimization::jacobian (Function f, const Coordinate< ValueType > &x, Options< ValueType > options=Options< ValueType >()) |
Computes the Jacobian of f at x. | |
template<class ValueType , class Function > | |
Gradient< Function, ValueType > | TRTK::Optimization::makeGradient (Function &function, Options< ValueType > options=Options< ValueType >()) |
Returns an instance of Gradient. The template argument types are automatically deduced. | |
template<class Function , class ValueType > | |
Result< ValueType > | TRTK::Optimization::solve (Function function, const Coordinate< ValueType > &start_value, Options< ValueType > options=Options< ValueType >()) |
This function solves for the root (zero) of a given function. | |
template<class UnaryFunction , class ValueType > | |
ValueType | TRTK::Optimization::solve1D (UnaryFunction f, ValueType start_value, unsigned max_number_iterations=25) |
This function solves for the root (zero) of a given function. | |
template<class Function , class ValueType > | |
Result< ValueType > | TRTK::Optimization::solveLevenbergMarquardt (Function function, const Coordinate< ValueType > &start_value, Options< ValueType > options=Options< ValueType >()) |
This function solves for the root (zero) of a given function. | |
template<class Function , class ValueType > | |
Result< ValueType > | TRTK::Optimization::solveNewtonRaphsonMethod (Function function, const Coordinate< ValueType > &start_value, Options< ValueType > options=Options< ValueType >()) |
This function solves for the root (zero) of a given function. |
This file contains various functions to find the roots (zeros) or the local minima and maxima of a function.
Definition in file Optimization.hpp.
Documentation generated by Doxygen