proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
|
#include <proxsuite/proxqp/sparse/wrapper.hpp>
Public Member Functions | |
BatchQP (long unsigned int batchSize) | |
QP< T, I > & | init_qp_in_place (sparse::isize dim, sparse::isize n_eq, sparse::isize n_in) |
void | insert (QP< T, I > &qp) |
QP< T, I > & | get (isize i) |
const QP< T, I > & | get (isize i) const |
QP< T, I > & | operator[] (isize i) |
const QP< T, I > & | operator[] (isize i) const |
sparse::isize | size () |
Public Attributes | |
std::vector< QP< T, I > > | qp_vector |
sparse::isize | m_size |
Definition at line 800 of file wrapper.hpp.
|
inline |
Definition at line 809 of file wrapper.hpp.
|
inline |
Init a QP in place and return a reference to it
Definition at line 821 of file wrapper.hpp.
|
inline |
Init a QP in place and return a reference to it ‍/
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; };
/*! Inserts a qp to the end of qp_vector
Definition at line 847 of file wrapper.hpp.
|
inline |
Access QP at position i
Definition at line 852 of file wrapper.hpp.
|
inline |
Access QP at position i
Definition at line 857 of file wrapper.hpp.
|
inline |
Access QP at position i
Definition at line 862 of file wrapper.hpp.
|
inline |
Access QP at position i
Definition at line 867 of file wrapper.hpp.
|
inline |
Definition at line 869 of file wrapper.hpp.
std::vector<QP<T, I> > proxsuite::proxqp::sparse::BatchQP< T, I >::qp_vector |
A vector of QP aligned of size BatchSize specified by the user.
Definition at line 806 of file wrapper.hpp.
sparse::isize proxsuite::proxqp::sparse::BatchQP< T, I >::m_size |
Definition at line 807 of file wrapper.hpp.