Return the derivative of a function w.r.t. More...
#include <roboptim/core/filter/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). | |
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 filter constructor. | |
~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 |
roboptim::Derivative< U >::Derivative | ( | boost::shared_ptr< U > | origin, |
size_type | variableId | ||
) | [inline, explicit] |
Derivative filter constructor.
origin | input function. |
variableId | parameter index. |
roboptim::Derivative< U >::~Derivative | ( | ) | [inline] |
void roboptim::Derivative< U >::impl_compute | ( | result_ref | result, |
const_argument_ref | x | ||
) | const [inline, protected] |
void roboptim::Derivative< U >::impl_gradient | ( | gradient_ref | gradient, |
const_argument_ref | x, | ||
size_type | functionId = 0 |
||
) | const [inline, protected] |
const boost::shared_ptr<U>& roboptim::Derivative< U >::origin | ( | ) | const [inline] |
boost::shared_ptr<U>& roboptim::Derivative< U >::origin | ( | ) | [inline] |
roboptim::Derivative< U >::ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ | ( | GenericDifferentiableFunction< typename U::traits_t > | ) |