Go to the source code of this file.
Functions | |
returnValue | allocateOutputs (int nlhs, mxArray *plhs[], int nV, int nC, int nP, int handle) |
int | allocateQPInstance (int nV, int nC, HessianType hessianType, BooleanType isSimplyBounded, const Options *options) |
BooleanType | containsInf (const real_t *const data, unsigned int dim) |
BooleanType | containsNaN (const real_t *const data, unsigned int dim) |
BooleanType | containsNaNorInf (const mxArray *prhs[], int rhs_index, BooleanType mayContainInf) |
returnValue | convertFortranToC (const real_t *const M_for, int nV, int nC, real_t *const M) |
QPInstance * | getQPInstance (int handle) |
BooleanType | hasOptionsValue (const mxArray *optionsPtr, const char *const optionString, double **optionValue) |
bool | mxIsScalar (const mxArray *pm) |
returnValue | obtainOutputs (int k, QProblem *qp, returnValue returnvalue, int _nWSRout, double _cpuTime, int nlhs, mxArray *plhs[], int nV, int nC, int handle) |
returnValue | obtainOutputsSB (int k, QProblemB *qp, returnValue returnvalue, int _nWSRout, double _cpuTime, int nlhs, mxArray *plhs[], int nV, int handle) |
int | QPInstance_getNC (QPInstance *_THIS) |
int | QPInstance_getNV (QPInstance *_THIS) |
void | QPInstanceCON (QPInstance *_THIS, int _nV, int _nC, HessianType _hessianType, BooleanType _isSimplyBounded) |
returnValue | setupAuxiliaryInputs (const mxArray *auxInput, unsigned int nV, unsigned int nC, HessianType *hessianType, double **x0, double **guessedBounds, double **guessedConstraints, double **R) |
returnValue | setupConstraintMatrix (const mxArray *prhsA, int nV, int nC, DenseMatrix *A) |
returnValue | setupHessianMatrix (const mxArray *prhsH, int nV, DenseMatrix *H) |
returnValue | setupOptions (Options *options, const mxArray *optionsPtr, int *nWSRin, real_t *maxCpuTime) |
returnValue | smartDimensionCheck (real_t **input, unsigned int m, unsigned int n, BooleanType emptyAllowed, const mxArray *prhs[], int idx) |
Collects utility functions for Interface to Matlab(R) that enables to call qpOASES as a MEX function.
Definition in file qpOASES_e_matlab_utils.c.
returnValue allocateOutputs | ( | int | nlhs, |
mxArray * | plhs[], | ||
int | nV, | ||
int | nC, | ||
int | nP, | ||
int | handle | ||
) |
Definition at line 582 of file qpOASES_e_matlab_utils.c.
int allocateQPInstance | ( | int | nV, |
int | nC, | ||
HessianType | hessianType, | ||
BooleanType | isSimplyBounded, | ||
const Options * | options | ||
) |
Definition at line 105 of file qpOASES_e_matlab_utils.c.
BooleanType containsInf | ( | const real_t *const | data, |
unsigned int | dim | ||
) |
Definition at line 233 of file qpOASES_e_matlab_utils.c.
BooleanType containsNaN | ( | const real_t *const | data, |
unsigned int | dim | ||
) |
Definition at line 215 of file qpOASES_e_matlab_utils.c.
BooleanType containsNaNorInf | ( | const mxArray * | prhs[], |
int | rhs_index, | ||
BooleanType | mayContainInf | ||
) |
Definition at line 251 of file qpOASES_e_matlab_utils.c.
returnValue convertFortranToC | ( | const real_t *const | M_for, |
int | nV, | ||
int | nC, | ||
real_t *const | M | ||
) |
Definition at line 291 of file qpOASES_e_matlab_utils.c.
QPInstance* getQPInstance | ( | int | handle | ) |
Definition at line 131 of file qpOASES_e_matlab_utils.c.
BooleanType hasOptionsValue | ( | const mxArray * | optionsPtr, |
const char *const | optionString, | ||
double ** | optionValue | ||
) |
Definition at line 312 of file qpOASES_e_matlab_utils.c.
bool mxIsScalar | ( | const mxArray * | pm | ) |
Definition at line 92 of file qpOASES_e_matlab_utils.c.
returnValue obtainOutputs | ( | int | k, |
QProblem * | qp, | ||
returnValue | returnvalue, | ||
int | _nWSRout, | ||
double | _cpuTime, | ||
int | nlhs, | ||
mxArray * | plhs[], | ||
int | nV, | ||
int | nC, | ||
int | handle | ||
) |
Definition at line 648 of file qpOASES_e_matlab_utils.c.
returnValue obtainOutputsSB | ( | int | k, |
QProblemB * | qp, | ||
returnValue | returnvalue, | ||
int | _nWSRout, | ||
double | _cpuTime, | ||
int | nlhs, | ||
mxArray * | plhs[], | ||
int | nV, | ||
int | handle | ||
) |
Definition at line 729 of file qpOASES_e_matlab_utils.c.
int QPInstance_getNC | ( | QPInstance * | _THIS | ) |
Definition at line 79 of file qpOASES_e_matlab_utils.c.
int QPInstance_getNV | ( | QPInstance * | _THIS | ) |
Definition at line 70 of file qpOASES_e_matlab_utils.c.
void QPInstanceCON | ( | QPInstance * | _THIS, |
int | _nV, | ||
int | _nC, | ||
HessianType | _hessianType, | ||
BooleanType | _isSimplyBounded | ||
) |
Definition at line 37 of file qpOASES_e_matlab_utils.c.
returnValue setupAuxiliaryInputs | ( | const mxArray * | auxInput, |
unsigned int | nV, | ||
unsigned int | nC, | ||
HessianType * | hessianType, | ||
double ** | x0, | ||
double ** | guessedBounds, | ||
double ** | guessedConstraints, | ||
double ** | R | ||
) |
Definition at line 497 of file qpOASES_e_matlab_utils.c.
returnValue setupConstraintMatrix | ( | const mxArray * | prhsA, |
int | nV, | ||
int | nC, | ||
DenseMatrix * | A | ||
) |
Definition at line 834 of file qpOASES_e_matlab_utils.c.
returnValue setupHessianMatrix | ( | const mxArray * | prhsH, |
int | nV, | ||
DenseMatrix * | H | ||
) |
Definition at line 803 of file qpOASES_e_matlab_utils.c.
returnValue setupOptions | ( | Options * | options, |
const mxArray * | optionsPtr, | ||
int * | nWSRin, | ||
real_t * | maxCpuTime | ||
) |
Definition at line 342 of file qpOASES_e_matlab_utils.c.
returnValue smartDimensionCheck | ( | real_t ** | input, |
unsigned int | m, | ||
unsigned int | n, | ||
BooleanType | emptyAllowed, | ||
const mxArray * | prhs[], | ||
int | idx | ||
) |
Definition at line 144 of file qpOASES_e_matlab_utils.c.