29#ifndef HPP_CONSTRAINTS_ACTIVE_SET_DIFFERENTIABLE_FUNCTION_HH 
   30#define HPP_CONSTRAINTS_ACTIVE_SET_DIFFERENTIABLE_FUNCTION_HH 
   37namespace constraints {
 
   57                               f->outputSpace(), 
"ActiveSet_on_" + f->name()),
 
   59        intervals_(intervals) {
 
   60    context(f->context());
 
 
   75    function_->value(result, argument);
 
 
   79    function_->jacobian(jacobian, arg);
 
   80    for (segments_t::const_iterator _int = intervals_.begin();
 
   81         _int != intervals_.end(); ++_int)
 
   82      jacobian.middleCols(_int->first, _int->second).setZero();
 
 
   88    if (!DifferentiableFunction::isEqual(other)) 
return false;
 
   90    if (function_ != castother.
function_) 
return false;
 
   91    if (intervals_ != castother.
intervals_) 
return false;
 
 
 
 
 
Definition active-set-differentiable-function.hh:48
bool isEqual(const DifferentiableFunction &other) const
Definition active-set-differentiable-function.hh:85
segments_t intervals_
Definition active-set-differentiable-function.hh:97
const DifferentiableFunctionPtr_t & functionPtr() const
Get the original function.
Definition active-set-differentiable-function.hh:67
const DifferentiableFunction & function() const
Get the original function.
Definition active-set-differentiable-function.hh:64
virtual void impl_compute(LiegroupElementRef result, vectorIn_t argument) const
User implementation of function evaluation.
Definition active-set-differentiable-function.hh:73
virtual void impl_jacobian(matrixOut_t jacobian, vectorIn_t arg) const
Definition active-set-differentiable-function.hh:78
DifferentiableFunctionPtr_t function_
Definition active-set-differentiable-function.hh:96
ActiveSetDifferentiableFunction(const DifferentiableFunctionPtr_t &f, segments_t intervals)
Definition active-set-differentiable-function.hh:54
std::vector< segments_t > intervalss_t
Definition active-set-differentiable-function.hh:70
Definition differentiable-function.hh:63
#define HPP_CONSTRAINTS_DLLAPI
Definition config.hh:88
shared_ptr< DifferentiableFunction > DifferentiableFunctionPtr_t
Definition fwd.hh:113
pinocchio::vectorIn_t vectorIn_t
Definition fwd.hh:60
Eigen::Ref< matrix_t > matrixOut_t
Definition fwd.hh:58
std::vector< segment_t > segments_t
Definition fwd.hh:84
pinocchio::LiegroupElementRef LiegroupElementRef
Definition fwd.hh:66
Definition active-set-differentiable-function.hh:36