Interface for the finite difference gradient policies. More...
#include <roboptim/core/finite-difference-gradient.hh>
Public Member Functions | |
ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ (GenericDifferentiableFunction< T >) | |
Policy (const GenericFunction< T > &adaptee) | |
virtual | ~Policy () |
Virtual destructor. | |
virtual void | computeGradient (value_type epsilon, gradient_ref gradient, const_argument_ref argument, size_type idFunction, argument_ref xEps) const =0 |
virtual void | computeJacobian (value_type epsilon, jacobian_ref jacobian, const_argument_ref argument, argument_ref xEps) const |
template<> | |
void | computeJacobian (value_type epsilon, jacobian_ref jacobian, const_argument_ref argument, argument_ref xEps) const |
Protected Attributes | |
const GenericFunction< T > & | adaptee_ |
Interface for the finite difference gradient policies.
roboptim::finiteDifferenceGradientPolicies::Policy< T >::Policy | ( | const GenericFunction< T > & | adaptee | ) | [inline, explicit] |
virtual roboptim::finiteDifferenceGradientPolicies::Policy< T >::~Policy | ( | ) | [inline, virtual] |
Virtual destructor.
virtual void roboptim::finiteDifferenceGradientPolicies::Policy< T >::computeGradient | ( | value_type | epsilon, |
gradient_ref | gradient, | ||
const_argument_ref | argument, | ||
size_type | idFunction, | ||
argument_ref | xEps | ||
) | const [pure virtual] |
void roboptim::finiteDifferenceGradientPolicies::Policy< T >::computeJacobian | ( | value_type | epsilon, |
jacobian_ref | jacobian, | ||
const_argument_ref | argument, | ||
argument_ref | xEps | ||
) | const [virtual] |
void roboptim::finiteDifferenceGradientPolicies::Policy< EigenMatrixSparse >::computeJacobian | ( | value_type | epsilon, |
jacobian_ref | jacobian, | ||
const_argument_ref | argument, | ||
argument_ref | xEps | ||
) | const [inline] |
ROBOPTIM_DO_NOT_CHECK_ALLOCATION
roboptim::finiteDifferenceGradientPolicies::Policy< T >::ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ | ( | GenericDifferentiableFunction< T > | ) |
const GenericFunction<T>& roboptim::finiteDifferenceGradientPolicies::Policy< T >::adaptee_ [protected] |