Subtract two RobOptim functions. More...
#include <roboptim/core/operator/minus.hh>
Public Types | |
typedef detail::PromoteTrait < U, V >::T_promote | parentType_t |
typedef boost::shared_ptr< Minus > | MinusShPtr_t |
Public Member Functions | |
ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ (parentType_t) | |
Minus (boost::shared_ptr< U > left, boost::shared_ptr< V > right) | |
~Minus () | |
const boost::shared_ptr< U > & | left () const |
U & | left () |
const boost::shared_ptr< V > & | right () const |
V & | right () |
void | impl_compute (result_ref result, const_argument_ref x) const |
void | impl_gradient (gradient_ref gradient, const_argument_ref argument, size_type functionId=0) const |
void | impl_jacobian (jacobian_ref jacobian, const_argument_ref arg) const |
Subtract two RobOptim functions.
U | first input function type. |
V | second input function type. |
typedef boost::shared_ptr<Minus> roboptim::Minus< U, V >::MinusShPtr_t |
typedef detail::PromoteTrait<U, V>::T_promote roboptim::Minus< U, V >::parentType_t |
|
explicit |
roboptim::Minus< U, V >::~Minus | ( | ) |
void roboptim::Minus< U, V >::impl_compute | ( | result_ref | result, |
const_argument_ref | x | ||
) | const |
References result_.
void roboptim::Minus< U, V >::impl_gradient | ( | gradient_ref | gradient, |
const_argument_ref | argument, | ||
size_type | functionId = 0 |
||
) | const |
void roboptim::Minus< U, V >::impl_jacobian | ( | jacobian_ref | jacobian, |
const_argument_ref | arg | ||
) | const |
References jacobian_.
|
inline |
|
inline |
|
inline |
|
inline |
roboptim::Minus< U, V >::ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ | ( | parentType_t | ) |