Functions
Flipper.c File Reference
#include <qpOASES_e/Flipper.h>
Include dependency graph for Flipper.c:

Go to the source code of this file.

Functions

returnValue Flipper_get (Flipper *_THIS, Bounds *const _bounds, real_t *const _R, Constraints *const _constraints, real_t *const _Q, real_t *const _T)
 
unsigned int Flipper_getDimT (Flipper *_THIS)
 
returnValue Flipper_init (Flipper *_THIS, unsigned int _nV, unsigned int _nC)
 
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)
 
BEGIN_NAMESPACE_QPOASES void FlipperCON (Flipper *_THIS, unsigned int _nV, unsigned int _nC)
 
void FlipperCPY (Flipper *FROM, Flipper *TO)
 

Detailed Description

Author
Hans Joachim Ferreau, Andreas Potschka, Christian Kirches
Version
3.1embedded
Date
2007-2015

Implementation of the Flipper class designed to manage working sets of constraints and bounds within a QProblem.

Definition in file Flipper.c.

Function Documentation

returnValue Flipper_get ( Flipper _THIS,
Bounds *const  _bounds,
real_t *const  R,
Constraints *const  _constraints,
real_t *const  _Q,
real_t *const  _T 
)

Copies current values to non-null arguments (assumed to be allocated with consistent size).

Returns
SUCCESSFUL_RETURN
Parameters
_boundsPointer to new bounds.
_RNew matrix R.
_constraintsPointer to new constraints.
_QNew matrix Q.
_TNew matrix T.

Definition at line 89 of file Flipper.c.

unsigned int Flipper_getDimT ( Flipper _THIS)

Returns dimension of matrix T.

Returns
Dimension of matrix T.

Definition at line 152 of file Flipper.c.

returnValue Flipper_init ( Flipper _THIS,
unsigned int  _nV,
unsigned int  _nC 
)

Initialises object with given number of bounds and constraints.

Returns
SUCCESSFUL_RETURN
RET_INVALID_ARGUMENTS
Parameters
_nVNumber of bounds.
_nCNumber of constraints.

Definition at line 73 of file Flipper.c.

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 
)

Assigns new values to non-null arguments.

Returns
SUCCESSFUL_RETURN
Parameters
_boundsPointer to new bounds.
_RNew matrix R.
_constraintsPointer to new constraints.
_QNew matrix Q.
_TNew matrix T.

Definition at line 119 of file Flipper.c.

BEGIN_NAMESPACE_QPOASES void FlipperCON ( Flipper _THIS,
unsigned int  _nV,
unsigned int  _nC 
)

Constructor which takes the number of bounds and constraints.

Parameters
_nVNumber of bounds.
_nCNumber of constraints.

Definition at line 50 of file Flipper.c.

void FlipperCPY ( Flipper FROM,
Flipper TO 
)

Copy constructor (deep copy).

Definition at line 62 of file Flipper.c.



acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:18