Return the derivative of a function w.r.t. More...
#include <roboptim/core/operator/derivative.hh>
Public Types | |
typedef DerivativeParent< U > ::result_t | parentType_t |
typedef std::pair< size_type, size_type > | jacobianSize_t |
Jacobian size type (pair of values). More... | |
typedef boost::shared_ptr < Derivative > | DerivativeShPtr_t |
Public Member Functions | |
ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ (GenericDifferentiableFunction< typename U::traits_t >) | |
Derivative (boost::shared_ptr< U > origin, size_type variableId) | |
Derivative operator constructor. More... | |
~Derivative () | |
const boost::shared_ptr< U > & | origin () const |
boost::shared_ptr< U > & | origin () |
Protected Member Functions | |
void | impl_compute (result_ref result, const_argument_ref x) const |
void | impl_gradient (gradient_ref gradient, const_argument_ref x, size_type functionId=0) const |
Return the derivative of a function w.r.t.
one of the parameters.
Known issue: for now it returns a non-differentiable function.
U | input function type. |
typedef boost::shared_ptr<Derivative> roboptim::Derivative< U >::DerivativeShPtr_t |
typedef std::pair<size_type, size_type> roboptim::Derivative< U >::jacobianSize_t |
Jacobian size type (pair of values).
typedef DerivativeParent<U>::result_t roboptim::Derivative< U >::parentType_t |
|
inlineexplicit |
Derivative operator constructor.
origin | input function. |
variableId | parameter index. |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
roboptim::Derivative< U >::ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ | ( | GenericDifferentiableFunction< typename U::traits_t > | ) |