37 #ifndef QPOASES_MATRICES_H 38 #define QPOASES_MATRICES_H 40 #ifdef __USE_SINGLE_PRECISION__ 66 void dgemm_ (
const char*,
const char*,
const unsigned long*,
const unsigned long*,
const unsigned long*,
67 const double*,
const double*,
const unsigned long*,
const double*,
const unsigned long*,
68 const double*,
double*,
const unsigned long* );
70 void sgemm_ (
const char*,
const char*,
const unsigned long*,
const unsigned long*,
const unsigned long*,
71 const float*,
const float*,
const unsigned long*,
const float*,
const unsigned long*,
72 const float*,
float*,
const unsigned long* );
75 void dsyr_ (
const char *,
const unsigned long *,
const double *,
const double *,
76 const unsigned long *,
double *,
const unsigned long *);
78 void ssyr_ (
const char *,
const unsigned long *,
const float *,
const float *,
79 const unsigned long *,
float *,
const unsigned long *);
82 void dsyr2_ (
const char *,
const unsigned long *,
const double *,
const double *,
83 const unsigned long *,
const double *,
const unsigned long *,
double *,
const unsigned long *);
85 void ssyr2_ (
const char *,
const unsigned long *,
const float *,
const float *,
86 const unsigned long *,
const float *,
const unsigned long *,
float *,
const unsigned long *);
89 void dpotrf_ (
const char *,
const unsigned long *,
double *,
const unsigned long *,
long * );
91 void spotrf_ (
const char *,
const unsigned long *,
float *,
const unsigned long *,
long * );
void spotrf_(const char *, const unsigned long *, float *, const unsigned long *, long *)
real_t DenseMatrix_getNorm(DenseMatrix *_THIS, int type)
void dgemm_(const char *, const char *, const unsigned long *, const unsigned long *, const unsigned long *, const double *, const double *, const unsigned long *, const double *, const unsigned long *, const double *, double *, const unsigned long *)
returnValue DenseMatrix_subTimes(DenseMatrix *_THIS, const Indexlist *const irows, const Indexlist *const icols, int xN, real_t alpha, const real_t *x, int xLD, real_t beta, real_t *y, int yLD, BooleanType yCompr)
real_t DenseMatrix_diag(DenseMatrix *_THIS, int i)
void dsyr2_(const char *, const unsigned long *, const double *, const double *, const unsigned long *, const double *, const unsigned long *, double *, const unsigned long *)
returnValue DenseMatrix_addToDiag(DenseMatrix *_THIS, real_t alpha)
returnValue DenseMatrix_bilinear(DenseMatrix *_THIS, const Indexlist *const icols, int xN, const real_t *x, int xLD, real_t *y, int yLD)
real_t DenseMatrix_getRowNorm(DenseMatrix *_THIS, int rNum, int type)
returnValue DenseMatrix_getCol(DenseMatrix *_THIS, int cNum, const Indexlist *const irows, real_t alpha, real_t *col)
Allows to pass back messages to the calling function.
returnValue DenseMatrix_getRow(DenseMatrix *_THIS, int rNum, const Indexlist *const icols, real_t alpha, real_t *row)
returnValue DenseMatrix_transTimes(DenseMatrix *_THIS, int xN, real_t alpha, const real_t *x, int xLD, real_t beta, real_t *y, int yLD)
void ssyr_(const char *, const unsigned long *, const float *, const float *, const unsigned long *, float *, const unsigned long *)
BooleanType DenseMatrix_isDiag(DenseMatrix *_THIS)
void dsyr_(const char *, const unsigned long *, const double *, const double *, const unsigned long *, double *, const unsigned long *)
void DenseMatrixCPY(DenseMatrix *FROM, DenseMatrix *TO)
returnValue DenseMatrix_subTransTimes(DenseMatrix *_THIS, const Indexlist *const irows, const Indexlist *const icols, int xN, real_t alpha, const real_t *x, int xLD, real_t beta, real_t *y, int yLD)
void DenseMatrix_free(DenseMatrix *_THIS)
void DenseMatrixCON(DenseMatrix *_THIS, int m, int n, int lD, real_t *v)
Interfaces matrix-vector operations tailored to general dense matrices.
returnValue DenseMatrix_print(DenseMatrix *_THIS)
void dpotrf_(const char *, const unsigned long *, double *, const unsigned long *, long *)
#define END_NAMESPACE_QPOASES
static real_t * DenseMatrix_getVal(DenseMatrix *_THIS)
Stores and manages index lists.
void sgemm_(const char *, const char *, const unsigned long *, const unsigned long *, const unsigned long *, const float *, const float *, const unsigned long *, const float *, const unsigned long *, const float *, float *, const unsigned long *)
void ssyr2_(const char *, const unsigned long *, const float *, const float *, const unsigned long *, const float *, const unsigned long *, float *, const unsigned long *)
#define BEGIN_NAMESPACE_QPOASES
returnValue DenseMatrix_times(DenseMatrix *_THIS, int xN, real_t alpha, const real_t *x, int xLD, real_t beta, real_t *y, int yLD)
returnValue DenseMatrix_init(DenseMatrix *_THIS, int m, int n, int lD, real_t *v)