Box QP solution. More...
#include <box-qp.hpp>
Public Types | |
| typedef MathBaseTpl< Scalar > | MathBase |
| typedef MathBase::MatrixXs | MatrixXs |
| typedef MathBase::VectorXs | VectorXs |
Public Member Functions | |
| BoxQPSolutionTpl () | |
| Initialize the QP solution structure. | |
| BoxQPSolutionTpl (const MatrixXs &Hff_inv, const VectorXs &x, const std::vector< size_t > &free_idx, const std::vector< size_t > &clamped_idx) | |
| Initialize the QP solution structure. | |
| template<typename NewScalar> | |
| BoxQPSolutionTpl< NewScalar > | cast () const |
| Cast the BoxQP solution to a different scalar type. | |
Public Attributes | |
| std::vector< size_t > | clamped_idx |
| Clamped space indexes. | |
| std::vector< size_t > | free_idx |
| Free space indexes. | |
| MatrixXs | Hff_inv |
| Inverse of the free space Hessian. | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
| VectorXs | x |
| Decision vector. | |
Box QP solution.
It contains the Box QP solution data which consists of
Definition at line 27 of file box-qp.hpp.
| typedef MathBaseTpl<Scalar> MathBase |
Definition at line 31 of file box-qp.hpp.
| typedef MathBase::VectorXs VectorXs |
Definition at line 32 of file box-qp.hpp.
| typedef MathBase::MatrixXs MatrixXs |
Definition at line 33 of file box-qp.hpp.
| inline |
Initialize the QP solution structure.
Definition at line 38 of file box-qp.hpp.
| inline |
Initialize the QP solution structure.
| [in] | Hff_inv | Inverse of the free space Hessian |
| [in] | x | Decision vector |
| [in] | free_idx | Free space indexes |
| [in] | clamped_idx | Clamped space indexes |
Definition at line 48 of file box-qp.hpp.
| inline |
Cast the BoxQP solution to a different scalar type.
It is useful for operations requiring different precision or scalar types.
| NewScalar | The new scalar type to cast to. |
Definition at line 63 of file box-qp.hpp.
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar |
Definition at line 30 of file box-qp.hpp.
| MatrixXs Hff_inv |
Inverse of the free space Hessian.
Definition at line 70 of file box-qp.hpp.
| VectorXs x |
Decision vector.
Definition at line 71 of file box-qp.hpp.
| std::vector<size_t> free_idx |
Free space indexes.
Definition at line 72 of file box-qp.hpp.
| std::vector<size_t> clamped_idx |
Clamped space indexes.
Definition at line 73 of file box-qp.hpp.