31 void projection(
const ConstVectorRef &z, VectorRef zout)
const {
40 Eigen::Ref<ActiveType> out)
const {
ConstraintSetTpl< Scalar > Base
decltype(auto) projection_impl(const ConstVectorRef &z) const
void projection(const ConstVectorRef &z, VectorRef zout) const
Compute projection of variable z onto the constraint set.
void normalConeProjection(const ConstVectorRef &z, VectorRef zout) const
Compute projection of z onto the normal cone to the set. The default implementation is just .
BoxConstraintTpl(const BoxConstraintTpl &)=default
BoxConstraintTpl & operator=(BoxConstraintTpl &&)=default
void computeActiveSet(const ConstVectorRef &z, Eigen::Ref< ActiveType > out) const
BoxConstraintTpl(BoxConstraintTpl &&)=default
typename Base::ActiveType ActiveType
BoxConstraintTpl & operator=(const BoxConstraintTpl &)=default
BoxConstraintTpl(const ConstVectorRef lower, const ConstVectorRef upper)
ALIGATOR_DYNAMIC_TYPEDEFS(Scalar)
ConstraintSetTpl()=default
Eigen::Matrix< bool, Eigen::Dynamic, 1 > ActiveType