37 #ifndef OPENGV_OPTIMIZATIONFUNCTOR_HPP_ 38 #define OPENGV_OPTIMIZATIONFUNCTOR_HPP_ 41 #include <Eigen/Eigen> 42 #include <Eigen/src/Core/util/DisableStupidWarnings.h> 45 using namespace Eigen;
57 template<
typename _Scalar,
int NX=Dynamic,
int NY=Dynamic>
65 InputsAtCompileTime = NX,
66 ValuesAtCompileTime = NY
69 typedef Matrix<Scalar,InputsAtCompileTime,1>
InputType;
71 typedef Matrix<Scalar,ValuesAtCompileTime,1>
ValueType;
73 typedef Matrix<Scalar,ValuesAtCompileTime,InputsAtCompileTime>
JacobianType;
82 m_inputs(InputsAtCompileTime),
83 m_values(ValuesAtCompileTime) {}
The namespace of this library.
Definition: AbsoluteAdapterBase.hpp:47
_Scalar Scalar
Definition: OptimizationFunctor.hpp:61
Definition: OptimizationFunctor.hpp:58
const int m_inputs
Definition: OptimizationFunctor.hpp:76
Matrix< Scalar, ValuesAtCompileTime, InputsAtCompileTime > JacobianType
Definition: OptimizationFunctor.hpp:73
int values() const
Definition: OptimizationFunctor.hpp:95
OptimizationFunctor(int inputs, int values)
Definition: OptimizationFunctor.hpp:85
OptimizationFunctor()
Definition: OptimizationFunctor.hpp:81
Matrix< Scalar, InputsAtCompileTime, 1 > InputType
Definition: OptimizationFunctor.hpp:69
const int m_values
Definition: OptimizationFunctor.hpp:78
int inputs() const
Definition: OptimizationFunctor.hpp:90
Matrix< Scalar, ValuesAtCompileTime, 1 > ValueType
Definition: OptimizationFunctor.hpp:71