Template Struct BatchQP
Defined in File wrapper.hpp
Struct Documentation
-
template<typename T, typename I>
struct BatchQP Public Functions
-
inline BatchQP(long unsigned int batchSize)
-
inline QP<T, I> &init_qp_in_place(sparse::isize dim, sparse::isize n_eq, sparse::isize n_in)
Init a QP in place and return a reference to it
-
inline void insert(QP<T, I> &qp)
- QP<T, I>& init_qp_in_place(const sparse::SparseMat<bool, I>& H, const sparse::SparseMat<bool, I>& A, const sparse::SparseMat<bool, I>& C) { qp_vector.emplace_back(H.rows(), A.rows(), C.rows()); auto& qp = qp_vector.back(); m_size++; return qp; };
Init a QP in place and return a reference to it ‍/
/*! Inserts a qp to the end of qp_vector
-
inline sparse::isize size()
-
inline BatchQP(long unsigned int batchSize)