Apply a function several times to an input vector. More...
#include <roboptim/core/operator/map.hh>
Public Types | |
typedef detail::AutopromoteTrait< U > ::T_type | parentType_t |
typedef boost::shared_ptr< Map > | MapShPtr_t |
Public Member Functions | |
ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ (parentType_t) | |
Map (boost::shared_ptr< U > origin, size_type repeat) | |
Map operator constructor. More... | |
~Map () | |
const boost::shared_ptr< U > & | origin () const |
boost::shared_ptr< U > & | origin () |
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 |
Apply a function several times to an input vector.
Input: [x_0^0 x_1^0 ... x_N^0 ... x_0^M x_1^M ... x_N^M]
Output: [f(x_0^0 x_1^0 ... x_N^0) ... f(x_0^M x_1^M ... x_N^M)]
U | input function type. |
typedef boost::shared_ptr<Map> roboptim::Map< U >::MapShPtr_t |
typedef detail::AutopromoteTrait<U>::T_type roboptim::Map< U >::parentType_t |
|
explicit |
roboptim::Map< U >::~Map | ( | ) |
void roboptim::Map< U >::impl_compute | ( | result_ref | result, |
const_argument_ref | x | ||
) | const |
void roboptim::Map< U >::impl_gradient | ( | gradient_ref | gradient, |
const_argument_ref | argument, | ||
size_type | functionId = 0 |
||
) | const |
References x_.
void roboptim::Map< U >::impl_jacobian | ( | jacobian_ref | jacobian, |
const_argument_ref | arg | ||
) | const |
|
inline |
|
inline |
roboptim::Map< U >::ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ | ( | parentType_t | ) |