Functions
qpOASES_octave_utils.cpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

returnValue allocateOutputs (int nlhs, mxArray *plhs[], int_t nV, int_t nC=0, int_t nP=1, int_t handle=-1)
 
int_t allocateQPInstance (int_t nV, int_t nC, HessianType hessianType, BooleanType isSimplyBounded, const Options *options)
 
BooleanType containsInf (const real_t *const data, uint_t dim)
 
BooleanType containsNaN (const real_t *const data, uint_t dim)
 
BooleanType containsNaNorInf (const mxArray *prhs[], int_t rhs_index, bool mayContainInf)
 
returnValue convertFortranToC (const real_t *const M_for, int_t nV, int_t nC, real_t *const M)
 
void deleteQPInstance (int_t handle)
 
QPInstancegetQPInstance (int_t handle)
 
BooleanType hasOptionsValue (const mxArray *optionsPtr, const char *const optionString, double **optionValue)
 
bool mxIsScalar (const mxArray *pm)
 
returnValue obtainOutputs (int_t k, QProblemB *qp, returnValue returnvalue, int_t _nWSRout, double _cpuTime, int nlhs, mxArray *plhs[], int_t nV, int_t nC=0, int_t handle=-1)
 
returnValue setupAuxiliaryInputs (const mxArray *auxInput, uint_t nV, uint_t nC, HessianType *hessianType, double **x0, double **guessedBounds, double **guessedConstraints, double **R)
 
returnValue setupConstraintMatrix (const mxArray *prhsA, int_t nV, int_t nC, Matrix **A, sparse_int_t **Air, sparse_int_t **Ajc, real_t **Av)
 
returnValue setupHessianMatrix (const mxArray *prhsH, int_t nV, SymmetricMatrix **H, sparse_int_t **Hir, sparse_int_t **Hjc, real_t **Hv)
 
returnValue setupOptions (Options *options, const mxArray *optionsPtr, int_t &nWSRin, real_t &maxCpuTime)
 
returnValue smartDimensionCheck (real_t **input, uint_t m, uint_t n, BooleanType emptyAllowed, const mxArray *prhs[], int_t idx)
 

Detailed Description

Author
Hans Joachim Ferreau, Andreas Potschka, Alexander Buchner
Version
3.2
Date
2007-2015

Collects utility functions for Interface to octave that enables to call qpOASES as a MEX function.

Definition in file qpOASES_octave_utils.cpp.

Function Documentation

returnValue allocateOutputs ( int  nlhs,
mxArray *  plhs[],
int_t  nV,
int_t  nC = 0,
int_t  nP = 1,
int_t  handle = -1 
)

Definition at line 671 of file qpOASES_octave_utils.cpp.

int_t allocateQPInstance ( int_t  nV,
int_t  nC,
HessianType  hessianType,
BooleanType  isSimplyBounded,
const Options options 
)

Definition at line 181 of file qpOASES_octave_utils.cpp.

BooleanType containsInf ( const real_t *const  data,
uint_t  dim 
)

Definition at line 324 of file qpOASES_octave_utils.cpp.

BooleanType containsNaN ( const real_t *const  data,
uint_t  dim 
)

Definition at line 306 of file qpOASES_octave_utils.cpp.

BooleanType containsNaNorInf ( const mxArray *  prhs[],
int_t  rhs_index,
bool  mayContainInf 
)

Definition at line 342 of file qpOASES_octave_utils.cpp.

returnValue convertFortranToC ( const real_t *const  M_for,
int_t  nV,
int_t  nC,
real_t *const  M 
)

Definition at line 382 of file qpOASES_octave_utils.cpp.

void deleteQPInstance ( int_t  handle)

Definition at line 215 of file qpOASES_octave_utils.cpp.

QPInstance* getQPInstance ( int_t  handle)

Definition at line 201 of file qpOASES_octave_utils.cpp.

BooleanType hasOptionsValue ( const mxArray *  optionsPtr,
const char *const  optionString,
double **  optionValue 
)

Definition at line 403 of file qpOASES_octave_utils.cpp.

bool mxIsScalar ( const mxArray *  pm)

Definition at line 168 of file qpOASES_octave_utils.cpp.

returnValue obtainOutputs ( int_t  k,
QProblemB qp,
returnValue  returnvalue,
int_t  _nWSRout,
double  _cpuTime,
int  nlhs,
mxArray *  plhs[],
int_t  nV,
int_t  nC = 0,
int_t  handle = -1 
)

Definition at line 737 of file qpOASES_octave_utils.cpp.

returnValue setupAuxiliaryInputs ( const mxArray *  auxInput,
uint_t  nV,
uint_t  nC,
HessianType hessianType,
double **  x0,
double **  guessedBounds,
double **  guessedConstraints,
double **  R 
)

Definition at line 588 of file qpOASES_octave_utils.cpp.

returnValue setupConstraintMatrix ( const mxArray *  prhsA,
int_t  nV,
int_t  nC,
Matrix **  A,
sparse_int_t **  Air,
sparse_int_t **  Ajc,
real_t **  Av 
)

Definition at line 902 of file qpOASES_octave_utils.cpp.

returnValue setupHessianMatrix ( const mxArray *  prhsH,
int_t  nV,
SymmetricMatrix **  H,
sparse_int_t **  Hir,
sparse_int_t **  Hjc,
real_t **  Hv 
)

Definition at line 831 of file qpOASES_octave_utils.cpp.

returnValue setupOptions ( Options options,
const mxArray *  optionsPtr,
int_t nWSRin,
real_t maxCpuTime 
)

Definition at line 433 of file qpOASES_octave_utils.cpp.

returnValue smartDimensionCheck ( real_t **  input,
uint_t  m,
uint_t  n,
BooleanType  emptyAllowed,
const mxArray *  prhs[],
int_t  idx 
)

Definition at line 234 of file qpOASES_octave_utils.cpp.



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