Ginan
Loading...
Searching...
No Matches
LapackWrapper Namespace Reference

Typedefs

using BlasReturn = void
 

Enumerations

enum class  Layout { ColMajor = 102 , RowMajor = 101 }
 
enum class  Transpose { NoTrans = 111 , Trans = 112 , ConjTrans = 113 }
 

Functions

void dposv_ (const char *uplo, const int *n, const int *nrhs, double *a, const int *lda, double *b, const int *ldb, int *info)
 
void dsysv_ (const char *uplo, const int *n, const int *nrhs, double *a, const int *lda, int *ipiv, double *b, const int *ldb, double *work, const int *lwork, int *info)
 
void dgetrf_ (const int *m, const int *n, double *a, const int *lda, int *ipiv, int *info)
 
void dgetrs_ (const char *trans, const int *n, const int *nrhs, const double *a, const int *lda, const int *ipiv, double *b, const int *ldb, int *info)
 
void dpotrf_ (const char *uplo, const int *n, double *a, const int *lda, int *info)
 
void dpotrs_ (const char *uplo, const int *n, const int *nrhs, const double *a, const int *lda, double *b, const int *ldb, int *info)
 
void dpotri_ (const char *uplo, const int *n, double *a, const int *lda, int *info)
 
void dsytrf_ (const char *uplo, const int *n, double *a, const int *lda, int *ipiv, double *work, const int *lwork, int *info)
 
void dsytrs_ (const char *uplo, const int *n, const int *nrhs, const double *a, const int *lda, const int *ipiv, double *b, const int *ldb, int *info)
 
void dsytri_ (const char *uplo, const int *n, double *a, const int *lda, const int *ipiv, double *work, int *info)
 
void dgetri_ (const int *n, double *a, const int *lda, const int *ipiv, double *work, const int *lwork, int *info)
 
BlasReturn dgemm_ (const char *transa, const char *transb, const int *m, const int *n, const int *k, const double *alpha, const double *a, const int *lda, const double *b, const int *ldb, const double *beta, double *c, const int *ldc)
 
BlasReturn dgemv_ (const char *trans, const int *m, const int *n, const double *alpha, const double *a, const int *lda, const double *x, const int *incx, const double *beta, double *y, const int *incy)
 
BlasReturn dcopy_ (int *n, double *x, int *incx, double *y, int *incy)
 
BlasReturn daxpy_ (const int *n, const double *alpha, const double *x, const int *incx, double *y, const int *incy)
 
BlasReturn dsymm_ (const char *side, const char *uplo, const int *m, const int *n, const double *alpha, const double *a, const int *lda, const double *b, const int *ldb, const double *beta, double *c, const int *ldc)
 
BlasReturn dsyrk_ (const char *uplo, const char *trans, const int *n, const int *k, const double *alpha, const double *a, const int *lda, const double *beta, double *c, const int *ldc)
 
int dpotrf (Layout layout, char uplo, int n, double *a, int lda)
 
int dpotrs (Layout layout, char uplo, int n, int nrhs, const double *a, int lda, double *b, int ldb)
 
int dpotri (Layout layout, char uplo, int n, double *a, int lda)
 
int dsytrf (Layout layout, char uplo, int n, double *a, int lda, int *ipiv)
 
int dsytrs (Layout layout, char uplo, int n, int nrhs, const double *a, int lda, const int *ipiv, double *b, int ldb)
 
int dsytri (Layout layout, char uplo, int n, double *a, int lda, int *ipiv)
 
int dgetrf (Layout layout, int m, int n, double *a, int lda, int *ipiv)
 
int dgetrs (Layout layout, char trans, int n, int nrhs, const double *a, int lda, const int *ipiv, double *b, int ldb)
 
int dgetri (Layout layout, int n, double *a, int lda, int *ipiv)
 
int dposv (Layout layout, char uplo, int n, int nrhs, double *a, int lda, double *b, int ldb)
 
int dsysv (Layout layout, char uplo, int n, int nrhs, double *a, int lda, int *ipiv, double *b, int ldb)
 
int dgesv (Layout layout, int n, int nrhs, double *a, int lda, int *ipiv, double *b, int ldb)
 
char transpose_to_char (Transpose trans)
 
void dgemm (Layout layout, Transpose transa, Transpose transb, int m, int n, int k, double alpha, const double *a, int lda, const double *b, int ldb, double beta, double *c, int ldc)
 
void dgemv (Layout layout, Transpose trans, int m, int n, double alpha, const double *a, int lda, const double *x, int incx, double beta, double *y, int incy)
 
void dcopy (int n, const double *x, int incx, double *y, int incy)
 
void daxpy (int n, double alpha, const double *x, int incx, double *y, int incy)
 
void dsymm (Layout layout, char side, char uplo, int m, int n, double alpha, const double *a, int lda, const double *b, int ldb, double beta, double *c, int ldc)
 
void dsyrk (Layout layout, char uplo, char trans, int n, int k, double alpha, const double *a, int lda, double beta, double *c, int ldc)
 

Variables

constexpr Layout COL_MAJOR = Layout::ColMajor
 
constexpr Layout ROW_MAJOR = Layout::RowMajor
 
constexpr Transpose CblasNoTrans = Transpose::NoTrans
 
constexpr Transpose CblasTrans = Transpose::Trans
 
constexpr Transpose CblasConjTrans = Transpose::ConjTrans
 
constexpr Layout CblasColMajor = Layout::ColMajor
 
constexpr Layout CblasRowMajor = Layout::RowMajor
 

Typedef Documentation

◆ BlasReturn

Enumeration Type Documentation

◆ Layout

enum class LapackWrapper::Layout
strong
Enumerator
ColMajor 
RowMajor 

◆ Transpose

enum class LapackWrapper::Transpose
strong
Enumerator
NoTrans 
Trans 
ConjTrans 

Function Documentation

◆ daxpy()

void LapackWrapper::daxpy ( int n,
double alpha,
const double * x,
int incx,
double * y,
int incy )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ daxpy_()

BlasReturn LapackWrapper::daxpy_ ( const int * n,
const double * alpha,
const double * x,
const int * incx,
double * y,
const int * incy )
Here is the caller graph for this function:

◆ dcopy()

void LapackWrapper::dcopy ( int n,
const double * x,
int incx,
double * y,
int incy )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dcopy_()

BlasReturn LapackWrapper::dcopy_ ( int * n,
double * x,
int * incx,
double * y,
int * incy )
Here is the caller graph for this function:

◆ dgemm()

void LapackWrapper::dgemm ( Layout layout,
Transpose transa,
Transpose transb,
int m,
int n,
int k,
double alpha,
const double * a,
int lda,
const double * b,
int ldb,
double beta,
double * c,
int ldc )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dgemm_()

BlasReturn LapackWrapper::dgemm_ ( const char * transa,
const char * transb,
const int * m,
const int * n,
const int * k,
const double * alpha,
const double * a,
const int * lda,
const double * b,
const int * ldb,
const double * beta,
double * c,
const int * ldc )
Here is the caller graph for this function:

◆ dgemv()

void LapackWrapper::dgemv ( Layout layout,
Transpose trans,
int m,
int n,
double alpha,
const double * a,
int lda,
const double * x,
int incx,
double beta,
double * y,
int incy )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dgemv_()

BlasReturn LapackWrapper::dgemv_ ( const char * trans,
const int * m,
const int * n,
const double * alpha,
const double * a,
const int * lda,
const double * x,
const int * incx,
const double * beta,
double * y,
const int * incy )
Here is the caller graph for this function:

◆ dgesv()

int LapackWrapper::dgesv ( Layout layout,
int n,
int nrhs,
double * a,
int lda,
int * ipiv,
double * b,
int ldb )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dgetrf()

int LapackWrapper::dgetrf ( Layout layout,
int m,
int n,
double * a,
int lda,
int * ipiv )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dgetrf_()

void LapackWrapper::dgetrf_ ( const int * m,
const int * n,
double * a,
const int * lda,
int * ipiv,
int * info )
Here is the caller graph for this function:

◆ dgetri()

int LapackWrapper::dgetri ( Layout layout,
int n,
double * a,
int lda,
int * ipiv )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dgetri_()

void LapackWrapper::dgetri_ ( const int * n,
double * a,
const int * lda,
const int * ipiv,
double * work,
const int * lwork,
int * info )
Here is the caller graph for this function:

◆ dgetrs()

int LapackWrapper::dgetrs ( Layout layout,
char trans,
int n,
int nrhs,
const double * a,
int lda,
const int * ipiv,
double * b,
int ldb )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dgetrs_()

void LapackWrapper::dgetrs_ ( const char * trans,
const int * n,
const int * nrhs,
const double * a,
const int * lda,
const int * ipiv,
double * b,
const int * ldb,
int * info )
Here is the caller graph for this function:

◆ dposv()

int LapackWrapper::dposv ( Layout layout,
char uplo,
int n,
int nrhs,
double * a,
int lda,
double * b,
int ldb )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dposv_()

void LapackWrapper::dposv_ ( const char * uplo,
const int * n,
const int * nrhs,
double * a,
const int * lda,
double * b,
const int * ldb,
int * info )
Here is the caller graph for this function:

◆ dpotrf()

int LapackWrapper::dpotrf ( Layout layout,
char uplo,
int n,
double * a,
int lda )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dpotrf_()

void LapackWrapper::dpotrf_ ( const char * uplo,
const int * n,
double * a,
const int * lda,
int * info )
Here is the caller graph for this function:

◆ dpotri()

int LapackWrapper::dpotri ( Layout layout,
char uplo,
int n,
double * a,
int lda )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dpotri_()

void LapackWrapper::dpotri_ ( const char * uplo,
const int * n,
double * a,
const int * lda,
int * info )
Here is the caller graph for this function:

◆ dpotrs()

int LapackWrapper::dpotrs ( Layout layout,
char uplo,
int n,
int nrhs,
const double * a,
int lda,
double * b,
int ldb )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dpotrs_()

void LapackWrapper::dpotrs_ ( const char * uplo,
const int * n,
const int * nrhs,
const double * a,
const int * lda,
double * b,
const int * ldb,
int * info )
Here is the caller graph for this function:

◆ dsymm()

void LapackWrapper::dsymm ( Layout layout,
char side,
char uplo,
int m,
int n,
double alpha,
const double * a,
int lda,
const double * b,
int ldb,
double beta,
double * c,
int ldc )
inline
Here is the call graph for this function:

◆ dsymm_()

BlasReturn LapackWrapper::dsymm_ ( const char * side,
const char * uplo,
const int * m,
const int * n,
const double * alpha,
const double * a,
const int * lda,
const double * b,
const int * ldb,
const double * beta,
double * c,
const int * ldc )
Here is the caller graph for this function:

◆ dsyrk()

void LapackWrapper::dsyrk ( Layout layout,
char uplo,
char trans,
int n,
int k,
double alpha,
const double * a,
int lda,
double beta,
double * c,
int ldc )
inline
Here is the call graph for this function:

◆ dsyrk_()

BlasReturn LapackWrapper::dsyrk_ ( const char * uplo,
const char * trans,
const int * n,
const int * k,
const double * alpha,
const double * a,
const int * lda,
const double * beta,
double * c,
const int * ldc )
Here is the caller graph for this function:

◆ dsysv()

int LapackWrapper::dsysv ( Layout layout,
char uplo,
int n,
int nrhs,
double * a,
int lda,
int * ipiv,
double * b,
int ldb )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dsysv_()

void LapackWrapper::dsysv_ ( const char * uplo,
const int * n,
const int * nrhs,
double * a,
const int * lda,
int * ipiv,
double * b,
const int * ldb,
double * work,
const int * lwork,
int * info )
Here is the caller graph for this function:

◆ dsytrf()

int LapackWrapper::dsytrf ( Layout layout,
char uplo,
int n,
double * a,
int lda,
int * ipiv )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dsytrf_()

void LapackWrapper::dsytrf_ ( const char * uplo,
const int * n,
double * a,
const int * lda,
int * ipiv,
double * work,
const int * lwork,
int * info )
Here is the caller graph for this function:

◆ dsytri()

int LapackWrapper::dsytri ( Layout layout,
char uplo,
int n,
double * a,
int lda,
int * ipiv )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dsytri_()

void LapackWrapper::dsytri_ ( const char * uplo,
const int * n,
double * a,
const int * lda,
const int * ipiv,
double * work,
int * info )
Here is the caller graph for this function:

◆ dsytrs()

int LapackWrapper::dsytrs ( Layout layout,
char uplo,
int n,
int nrhs,
const double * a,
int lda,
const int * ipiv,
double * b,
int ldb )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dsytrs_()

void LapackWrapper::dsytrs_ ( const char * uplo,
const int * n,
const int * nrhs,
const double * a,
const int * lda,
const int * ipiv,
double * b,
const int * ldb,
int * info )
Here is the caller graph for this function:

◆ transpose_to_char()

char LapackWrapper::transpose_to_char ( Transpose trans)
inline
Here is the caller graph for this function:

Variable Documentation

◆ CblasColMajor

Layout LapackWrapper::CblasColMajor = Layout::ColMajor
constexpr

◆ CblasConjTrans

Transpose LapackWrapper::CblasConjTrans = Transpose::ConjTrans
constexpr

◆ CblasNoTrans

Transpose LapackWrapper::CblasNoTrans = Transpose::NoTrans
constexpr

◆ CblasRowMajor

Layout LapackWrapper::CblasRowMajor = Layout::RowMajor
constexpr

◆ CblasTrans

Transpose LapackWrapper::CblasTrans = Transpose::Trans
constexpr

◆ COL_MAJOR

Layout LapackWrapper::COL_MAJOR = Layout::ColMajor
constexpr

◆ ROW_MAJOR

Layout LapackWrapper::ROW_MAJOR = Layout::RowMajor
constexpr