All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros
roboptim::eigen::solver_functor< S > Struct Template Reference

Functor wrapping RobOptim's differentiable function for Eigen. More...

Inheritance diagram for roboptim::eigen::solver_functor< S >:
Collaboration diagram for roboptim::eigen::solver_functor< S >:

Public Types

typedef Functor< double > FunctorType
 
- Public Types inherited from roboptim::eigen::Functor< double >
enum  
 
typedef double Scalar
 
typedef Matrix< Scalar,
InputsAtCompileTime, 1 > 
InputType
 
typedef Matrix< Scalar,
ValuesAtCompileTime, 1 > 
ValueType
 
typedef Matrix< Scalar,
ValuesAtCompileTime,
InputsAtCompileTime
JacobianType
 
typedef GenericFunction
< roboptim::EigenMatrixDense >
::size_type 
SizeType
 

Public Member Functions

 solver_functor (S &solver)
 
int operator() (const FunctorType::InputType &x, FunctorType::ValueType &fvec) const
 
int df (const FunctorType::InputType &x, FunctorType::ValueType &jac_row, VectorXd::Index rownb)
 
int df (const FunctorType::InputType &x, FunctorType::JacobianType &jac)
 
- Public Member Functions inherited from roboptim::eigen::Functor< double >
 Functor ()
 
 Functor (SizeType inputs, SizeType values)
 
SizeType inputs () const
 
SizeType values () const
 

Public Attributes

S & solver_
 RobOptim solver. More...
 
- Public Attributes inherited from roboptim::eigen::Functor< double >
const SizeType m_inputs
 
const SizeType m_values
 

Detailed Description

template<typename S>
struct roboptim::eigen::solver_functor< S >

Functor wrapping RobOptim's differentiable function for Eigen.

Member Typedef Documentation

template<typename S>
typedef Functor<double> roboptim::eigen::solver_functor< S >::FunctorType

Constructor & Destructor Documentation

template<typename S>
roboptim::eigen::solver_functor< S >::solver_functor ( S &  solver)
inline

Member Function Documentation

template<typename S>
int roboptim::eigen::solver_functor< S >::df ( const FunctorType::InputType x,
FunctorType::ValueType jac_row,
VectorXd::Index  rownb 
)
inline
template<typename S>
int roboptim::eigen::solver_functor< S >::df ( const FunctorType::InputType x,
FunctorType::JacobianType jac 
)
inline
template<typename S>
int roboptim::eigen::solver_functor< S >::operator() ( const FunctorType::InputType x,
FunctorType::ValueType fvec 
) const
inline

Member Data Documentation

template<typename S>
S& roboptim::eigen::solver_functor< S >::solver_

RobOptim solver.