proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::proxqp::dense::BatchQP< T > Struct Template Reference

#include <proxsuite/proxqp/dense/wrapper.hpp>

Collaboration diagram for proxsuite::proxqp::dense::BatchQP< T >:
[legend]

Public Member Functions

 BatchQP (size_t batch_size)
 
QP< T > & init_qp_in_place (dense::isize dim, dense::isize n_eq, dense::isize n_in)
 
void insert (const QP< T > &qp)
 
QP< T > & get (isize i)
 
const QP< T > & get (isize i) const
 
QP< T > & operator[] (isize i)
 
const QP< T > & operator[] (isize i) const
 
dense::isize size ()
 

Public Attributes

std::vector< QP< T > > qp_vector
 
dense::isize m_size
 

Detailed Description

template<typename T>
struct proxsuite::proxqp::dense::BatchQP< T >

Definition at line 1254 of file wrapper.hpp.

Constructor & Destructor Documentation

◆ BatchQP()

template<typename T >
proxsuite::proxqp::dense::BatchQP< T >::BatchQP ( size_t batch_size)
inlineexplicit

Definition at line 1263 of file wrapper.hpp.

Member Function Documentation

◆ init_qp_in_place()

template<typename T >
QP< T > & proxsuite::proxqp::dense::BatchQP< T >::init_qp_in_place ( dense::isize dim,
dense::isize n_eq,
dense::isize n_in )
inline

Init a QP in place and return a reference to it

Definition at line 1275 of file wrapper.hpp.

◆ insert()

template<typename T >
void proxsuite::proxqp::dense::BatchQP< T >::insert ( const QP< T > & qp)
inline

Inserts a QP to the end of qp_vector

Definition at line 1288 of file wrapper.hpp.

◆ get() [1/2]

template<typename T >
QP< T > & proxsuite::proxqp::dense::BatchQP< T >::get ( isize i)
inline

Access QP at position i

Definition at line 1293 of file wrapper.hpp.

◆ get() [2/2]

template<typename T >
const QP< T > & proxsuite::proxqp::dense::BatchQP< T >::get ( isize i) const
inline

Access QP at position i

Definition at line 1298 of file wrapper.hpp.

◆ operator[]() [1/2]

template<typename T >
QP< T > & proxsuite::proxqp::dense::BatchQP< T >::operator[] ( isize i)
inline

Access QP at position i

Definition at line 1303 of file wrapper.hpp.

◆ operator[]() [2/2]

template<typename T >
const QP< T > & proxsuite::proxqp::dense::BatchQP< T >::operator[] ( isize i) const
inline

Access QP at position i

Definition at line 1308 of file wrapper.hpp.

◆ size()

template<typename T >
dense::isize proxsuite::proxqp::dense::BatchQP< T >::size ( )
inline

Definition at line 1310 of file wrapper.hpp.

Member Data Documentation

◆ qp_vector

template<typename T >
std::vector<QP<T> > proxsuite::proxqp::dense::BatchQP< T >::qp_vector

A vector of QP aligned of size BatchSize specified by the user.

Definition at line 1260 of file wrapper.hpp.

◆ m_size

template<typename T >
dense::isize proxsuite::proxqp::dense::BatchQP< T >::m_size

Definition at line 1261 of file wrapper.hpp.


The documentation for this struct was generated from the following file: