Select an element of a function's output. More...
#include <roboptim/core/filter/split.hh>
Public Types | |
typedef T::traits_t | traits_t |
Import traits type. | |
typedef DifferentiableFunction::interval_t | interval_t |
Import interval type. | |
Public Member Functions | |
ROBOPTIM_TWICE_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ (GenericTwiceDifferentiableFunction< traits_t >) | |
Split (boost::shared_ptr< const T > fct, size_type functionId) | |
Split filter constructor. | |
~Split () | |
Protected Member Functions | |
virtual void | impl_compute (result_ref result, const_argument_ref argument) const |
virtual void | impl_gradient (gradient_ref gradient, const_argument_ref argument, size_type functionId=0) const |
virtual void | impl_hessian (hessian_ref hessian, const_argument_ref argument, size_type functionId=0) const |
virtual void | impl_derivative (gradient_ref derivative, value_type argument, size_type order=1) const |
template<> | |
void | impl_gradient (gradient_ref, const_argument_ref, size_type) const |
template<> | |
void | impl_hessian (hessian_ref, const_argument_ref, size_type) const |
template<> | |
void | impl_hessian (hessian_ref, const_argument_ref, size_type) const |
template<> | |
void | impl_derivative (gradient_ref, value_type, size_type) const |
template<> | |
void | impl_derivative (gradient_ref, value_type, size_type) const |
template<> | |
void | impl_derivative (gradient_ref, value_type, size_type) const |
Select an element of a function's output.
T | input function type. |
typedef DifferentiableFunction::interval_t roboptim::Split< T >::interval_t |
Import interval type.
typedef T::traits_t roboptim::Split< T >::traits_t |
Import traits type.
roboptim::Split< T >::Split | ( | boost::shared_ptr< const T > | fct, |
size_type | functionId | ||
) | [explicit] |
Split filter constructor.
fct | input function. |
functionId | index of the output to select. |
roboptim::Split< T >::~Split | ( | ) |
void roboptim::Split< T >::impl_compute | ( | result_ref | result, |
const_argument_ref | argument | ||
) | const [protected, virtual] |
void roboptim::Split< T >::impl_derivative | ( | gradient_ref | derivative, |
value_type | argument, | ||
size_type | order = 1 |
||
) | const [protected, virtual] |
void roboptim::Split< Function >::impl_derivative | ( | gradient_ref | , |
value_type | , | ||
size_type | |||
) | const [inline, protected] |
void roboptim::Split< DifferentiableFunction >::impl_derivative | ( | gradient_ref | , |
value_type | , | ||
size_type | |||
) | const [inline, protected] |
void roboptim::Split< TwiceDifferentiableFunction >::impl_derivative | ( | gradient_ref | , |
value_type | , | ||
size_type | |||
) | const [inline, protected] |
void roboptim::Split< T >::impl_gradient | ( | gradient_ref | gradient, |
const_argument_ref | argument, | ||
size_type | functionId = 0 |
||
) | const [protected, virtual] |
void roboptim::Split< Function >::impl_gradient | ( | gradient_ref | , |
const_argument_ref | , | ||
size_type | |||
) | const [inline, protected] |
void roboptim::Split< T >::impl_hessian | ( | hessian_ref | hessian, |
const_argument_ref | argument, | ||
size_type | functionId = 0 |
||
) | const [protected, virtual] |
void roboptim::Split< Function >::impl_hessian | ( | hessian_ref | , |
const_argument_ref | , | ||
size_type | |||
) | const [inline, protected] |
void roboptim::Split< DifferentiableFunction >::impl_hessian | ( | hessian_ref | , |
const_argument_ref | , | ||
size_type | |||
) | const [inline, protected] |
roboptim::Split< T >::ROBOPTIM_TWICE_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ | ( | GenericTwiceDifferentiableFunction< traits_t > | ) |