All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
roboptim::SelectionById< U > Class Template Reference

Select part of a function. More...

#include <roboptim/core/operator/selection-by-id.hh>

Inheritance diagram for roboptim::SelectionById< U >:

Public Types

typedef
detail::AutopromoteTrait< U >
::T_type 
parentType_t
 
typedef boost::shared_ptr
< SelectionById
SelectionByIdShPtr_t
 

Public Member Functions

 ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ (parentType_t)
 
 SelectionById (boost::shared_ptr< U > origin, std::vector< bool > selector)
 
 ~SelectionById ()
 
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
 

Detailed Description

template<typename U>
class roboptim::SelectionById< U >

Select part of a function.

Template Parameters
Uinput function type.

Member Typedef Documentation

template<typename U >
typedef detail::AutopromoteTrait<U>::T_type roboptim::SelectionById< U >::parentType_t
template<typename U >
typedef boost::shared_ptr<SelectionById> roboptim::SelectionById< U >::SelectionByIdShPtr_t

Constructor & Destructor Documentation

template<typename U >
roboptim::SelectionById< U >::SelectionById ( boost::shared_ptr< U >  origin,
std::vector< bool >  selector 
)
explicit

References result_.

template<typename U >
roboptim::SelectionById< U >::~SelectionById ( )

Member Function Documentation

template<typename U >
void roboptim::SelectionById< U >::impl_compute ( result_ref  result,
const_argument_ref  x 
) const

References result_.

template<typename U >
void roboptim::SelectionById< U >::impl_gradient ( gradient_ref  gradient,
const_argument_ref  argument,
size_type  functionId = 0 
) const
template<typename U >
void roboptim::SelectionById< U >::impl_jacobian ( jacobian_ref  jacobian,
const_argument_ref  arg 
) const
template<typename U >
const boost::shared_ptr<U>& roboptim::SelectionById< U >::origin ( ) const
inline
template<typename U >
boost::shared_ptr<U>& roboptim::SelectionById< U >::origin ( )
inline
template<typename U >
roboptim::SelectionById< U >::ROBOPTIM_DIFFERENTIABLE_FUNCTION_FWD_TYPEDEFS_ ( parentType_t  )