Go to the documentation of this file.
18 #ifndef __invdyn_math_constraint_base_hpp__
19 #define __invdyn_math_constraint_base_hpp__
23 #include <pinocchio/macros.hpp>
37 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
42 const unsigned int cols);
47 virtual const std::string&
name()
const;
48 virtual unsigned int rows()
const = 0;
49 virtual unsigned int cols()
const = 0;
50 virtual void resize(
const unsigned int r,
const unsigned int c) = 0;
54 virtual bool isBound()
const = 0;
81 #endif // ifndef __invdyn_math_constraint_base_hpp__
virtual bool isEquality() const =0
virtual bool setLowerBound(ConstRefVector lb)=0
virtual bool setVector(ConstRefVector b)=0
Abstract class representing a linear equality/inequality constraint. Equality constraints are represe...
virtual const Vector & vector() const =0
virtual const Vector & upperBound() const =0
EIGEN_MAKE_ALIGNED_OPERATOR_NEW ConstraintBase(const std::string &name)
virtual bool isBound() const =0
virtual const std::string & name() const
virtual void resize(const unsigned int r, const unsigned int c)=0
virtual bool setUpperBound(ConstRefVector ub)=0
virtual const Matrix & matrix() const
virtual ~ConstraintBase()=default
virtual const Vector & lowerBound() const =0
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > Matrix
virtual unsigned int cols() const =0
const typedef Eigen::Ref< const Vector > ConstRefVector
virtual unsigned int rows() const =0
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
virtual bool checkConstraint(ConstRefVector x, double tol=1e-6) const =0
virtual bool isInequality() const =0
const typedef Eigen::Ref< const Matrix > ConstRefMatrix
virtual bool setMatrix(ConstRefMatrix A)
tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Thu Apr 3 2025 02:47:15