100 if ( _constraints != 0 )
107 memcpy( _Q,_THIS->
Q, (NVMAX*NVMAX)*
sizeof(
real_t) );
120 const Bounds*
const _bounds,
130 if ( _constraints != 0 )
137 memcpy( _THIS->
Q,_Q, (NVMAX*NVMAX)*
sizeof(
real_t) );
154 if ( _THIS->
nV > _THIS->
nC )
155 return _THIS->
nC * _THIS->
nC;
157 return _THIS->
nV * _THIS->
nV;
Manages working sets of constraints.
Allows to pass back messages to the calling function.
Auxiliary class for storing a copy of the current matrix factorisations.
void ConstraintsCPY(Constraints *FROM, Constraints *TO)
returnValue Flipper_init(Flipper *_THIS, unsigned int _nV, unsigned int _nC)
void FlipperCPY(Flipper *FROM, Flipper *TO)
returnValue Flipper_set(Flipper *_THIS, const Bounds *const _bounds, const real_t *const _R, const Constraints *const _constraints, const real_t *const _Q, const real_t *const _T)
#define END_NAMESPACE_QPOASES
void BoundsCPY(Bounds *FROM, Bounds *TO)
returnValue Flipper_get(Flipper *_THIS, Bounds *const _bounds, real_t *const _R, Constraints *const _constraints, real_t *const _Q, real_t *const _T)
BEGIN_NAMESPACE_QPOASES void FlipperCON(Flipper *_THIS, unsigned int _nV, unsigned int _nC)
Manages working sets of bounds (= box constraints).
#define BEGIN_NAMESPACE_QPOASES
unsigned int Flipper_getDimT(Flipper *_THIS)