17 #ifndef HPP_CONSTRAINTS_FUNCTION_DIFFERENCE_HH 18 # define HPP_CONSTRAINTS_FUNCTION_DIFFERENCE_HH 20 # include <hpp/constraints/config.hh> 25 namespace constraints {
36 typedef boost::shared_ptr<Difference>
Ptr_t;
45 inner_->value(l_, arg.segment (lsa_.first, lsa_.second));
46 inner_->value(r_, arg.segment (rsa_.first, rsa_.second));
53 J.middleCols (lsd_.first, lsd_.second),
54 arg.segment (lsa_.first, lsa_.second));
56 J.middleCols (rsd_.first, rsd_.second),
57 arg.segment (rsa_.first, rsa_.second));
58 J.middleCols (rsd_.first, rsd_.second) *= -1;
61 std::ostream& print (std::ostream& os)
const;
73 #endif // HPP_CONSTRAINTS_FUNCTION_DIFFERENCE_HH pinocchio::vectorIn_t vectorIn_t
Definition: fwd.hh:46
void impl_compute(LiegroupElementRef y, vectorIn_t arg) const
User implementation of function evaluation.
Definition: difference.hh:43
const vector_type & vector() const
DifferentiableFunctionPtr_t inner_
Definition: difference.hh:63
std::pair< size_type, size_type > segment_t
Definition: fwd.hh:68
void impl_jacobian(matrixOut_t J, vectorIn_t arg) const
Definition: difference.hh:50
boost::shared_ptr< Difference > Ptr_t
Definition: difference.hh:36
const segment_t rsd_
Definition: difference.hh:65
Definition: difference.hh:32
const segment_t lsd_
Definition: difference.hh:64
Definition: differentiable-function.hh:50
boost::shared_ptr< DifferentiableFunction > DifferentiableFunctionPtr_t
Definition: fwd.hh:95
LiegroupElement r_
Definition: difference.hh:67
pinocchio::size_type size_type
Definition: fwd.hh:35
Eigen::Ref< matrix_t > matrixOut_t
Definition: fwd.hh:44
boost::shared_ptr< Difference > DifferencePtr_t
Definition: difference.hh:27