qpOASES 3.2.2
An Implementation of the Online Active Set Strategy
LapackBlasReplacement.hpp File Reference

Go to the source code of this file.

Macros

#define SGEMM   sgemm_
 
#define DGEMM   dgemm_
 
#define SPOTRF   spotrf_
 
#define DPOTRF   dpotrf_
 
#define STRTRS   strtrs_
 
#define DTRTRS   dtrtrs_
 
#define STRCON   strcon_
 
#define DTRCON   dtrcon_
 
#define GEMM   DGEMM
 
#define POTRF   DPOTRF
 
#define TRTRS   DTRTRS
 
#define TRCON   DTRCON
 

Functions

void DGEMM (const char *, const char *, const la_uint_t *, const la_uint_t *, const la_uint_t *, const double *, const double *, const la_uint_t *, const double *, const la_uint_t *, const double *, double *, const la_uint_t *)
 
void SGEMM (const char *, const char *, const la_uint_t *, const la_uint_t *, const la_uint_t *, const float *, const float *, const la_uint_t *, const float *, const la_uint_t *, const float *, float *, const la_uint_t *)
 
void DPOTRF (const char *, const la_uint_t *, double *, const la_uint_t *, la_int_t *)
 
void SPOTRF (const char *, const la_uint_t *, float *, const la_uint_t *, la_int_t *)
 
void DTRTRS (const char *UPLO, const char *TRANS, const char *DIAG, const la_uint_t *N, const la_uint_t *NRHS, double *A, const la_uint_t *LDA, double *B, const la_uint_t *LDB, la_int_t *INFO)
 
void STRTRS (const char *UPLO, const char *TRANS, const char *DIAG, const la_uint_t *N, const la_uint_t *NRHS, float *A, const la_uint_t *LDA, float *B, const la_uint_t *LDB, la_int_t *INFO)
 
void DTRCON (const char *NORM, const char *UPLO, const char *DIAG, const la_uint_t *N, double *A, const la_uint_t *LDA, double *RCOND, double *WORK, const la_uint_t *IWORK, la_int_t *INFO)
 
void STRCON (const char *NORM, const char *UPLO, const char *DIAG, const la_uint_t *N, float *A, const la_uint_t *LDA, float *RCOND, float *WORK, const la_uint_t *IWORK, la_int_t *INFO)
 

Detailed Description

Author
Andreas Potschka, Hans Joachim Ferreau, Christian Kirches
Version
3.2
Date
2009-2017

Declarations for external LAPACK/BLAS functions.

Macro Definition Documentation

◆ GEMM

#define GEMM   DGEMM

Macro for calling level 3 BLAS operation in double precision.

Referenced by DenseMatrix::times(), and DenseMatrix::transTimes().

◆ POTRF

#define POTRF   DPOTRF

Macro for calling level 3 BLAS operation in double precision.

Referenced by QProblemB::computeCholesky(), and QProblem::computeProjectedCholesky().

◆ TRCON

#define TRCON   DTRCON

Macro for calling level 3 BLAS operation in double precision.

Referenced by SQProblemSchur::updateSchurQR().

◆ TRTRS

#define TRTRS   DTRTRS

Macro for calling level 3 BLAS operation in double precision.

Referenced by SQProblemSchur::backsolveSchurQR().

Function Documentation

◆ DGEMM()

void DGEMM ( const char * TRANSA,
const char * TRANSB,
const la_uint_t * M,
const la_uint_t * N,
const la_uint_t * K,
const double * ALPHA,
const double * A,
const la_uint_t * LDA,
const double * B,
const la_uint_t * LDB,
const double * BETA,
double * C,
const la_uint_t * LDC )

Performs one of the matrix-matrix operation in double precision.

References BT_FALSE, BT_TRUE, isEqual(), isZero(), and REFER_NAMESPACE_QPOASES.

◆ DPOTRF()

void DPOTRF ( const char * uplo,
const la_uint_t * _n,
double * a,
const la_uint_t * _lda,
la_int_t * info )

Calculates the Cholesky factorization of a real symmetric positive definite matrix in double precision.

References getSqrt(), and REFER_NAMESPACE_QPOASES.

◆ DTRCON()

void DTRCON ( const char * NORM,
const char * UPLO,
const char * DIAG,
const la_uint_t * N,
double * A,
const la_uint_t * LDA,
double * RCOND,
double * WORK,
const la_uint_t * IWORK,
la_int_t * INFO )

Estimate the reciprocal of the condition number of a triangular matrix in double precision

◆ DTRTRS()

void DTRTRS ( const char * UPLO,
const char * TRANS,
const char * DIAG,
const la_uint_t * N,
const la_uint_t * NRHS,
double * A,
const la_uint_t * LDA,
double * B,
const la_uint_t * LDB,
la_int_t * INFO )

Solves a triangular system (double precision)

◆ SGEMM()

void SGEMM ( const char * TRANSA,
const char * TRANSB,
const la_uint_t * M,
const la_uint_t * N,
const la_uint_t * K,
const float * ALPHA,
const float * A,
const la_uint_t * LDA,
const float * B,
const la_uint_t * LDB,
const float * BETA,
float * C,
const la_uint_t * LDC )

Performs one of the matrix-matrix operation in single precision.

References BT_FALSE, BT_TRUE, isEqual(), isZero(), and REFER_NAMESPACE_QPOASES.

◆ SPOTRF()

void SPOTRF ( const char * uplo,
const la_uint_t * _n,
float * a,
const la_uint_t * _lda,
la_int_t * info )

Calculates the Cholesky factorization of a real symmetric positive definite matrix in single precision.

References getSqrt(), and REFER_NAMESPACE_QPOASES.

◆ STRCON()

void STRCON ( const char * NORM,
const char * UPLO,
const char * DIAG,
const la_uint_t * N,
float * A,
const la_uint_t * LDA,
float * RCOND,
float * WORK,
const la_uint_t * IWORK,
la_int_t * INFO )

Estimate the reciprocal of the condition number of a triangular matrix in single precision

◆ STRTRS()

void STRTRS ( const char * UPLO,
const char * TRANS,
const char * DIAG,
const la_uint_t * N,
const la_uint_t * NRHS,
float * A,
const la_uint_t * LDA,
float * B,
const la_uint_t * LDB,
la_int_t * INFO )

Solves a triangular system (single precision)