LAMA
|
Structure with pointers for routines using LAPACK. More...
#include <LAMAInterface.hpp>
Public Member Functions | |
LAPACKInterface () | |
Data Fields | |
IndexType(* | getrf )(const enum CBLAS_ORDER order, const IndexType m, const IndexType n, T *a, const IndexType lda, IndexType *ipivot) |
void(* | getinv )(const IndexType n, T *a, const IndexType lda) |
Method computes the inverse of a matrix by using the LAPACK routines getrf and getri. | |
IndexType(* | getri )(const enum CBLAS_ORDER, const IndexType n, T *a, const IndexType lda, IndexType *ipivot) |
IndexType(* | trtrs )(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const enum CBLAS_TRANSPOSE trans, const enum CBLAS_DIAG diag, const IndexType n, const IndexType nrhs, const T *A, const IndexType lda, T *B, const IndexType ldb) |
IndexType(* | tptrs )(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const enum CBLAS_TRANSPOSE trans, const enum CBLAS_DIAG diag, const IndexType n, const IndexType nrhs, const T *AP, T *B, const IndexType ldb) |
void(* | laswp )(const enum CBLAS_ORDER order, const IndexType n, T *A, const IndexType lda, const IndexType k1, const IndexType k2, const IndexType *ipiv, const IndexType incx, SyncToken *syncToken) |
Structure with pointers for routines using LAPACK.
lama::LAPACKInterface< T >::LAPACKInterface | ( | ) |
void(* lama::LAPACKInterface< T >::getinv)(const IndexType n, T *a, const IndexType lda) |
Method computes the inverse of a matrix by using the LAPACK routines getrf and getri.
[in] | n | specifies the order of the matrix a |
[in,out] | a | is the matrix for which the inverse is computed in-place |
[in] | lda | for the leading dimension of the array A |
Exception | if error occurs ( e.g. matrix is singular ) |
Note that the storage order (column-wise or row-wise does not matter at all)
Referenced by lama::OpenMPInterface::OpenMPInterface().
IndexType(* lama::LAPACKInterface< T >::getrf)(const enum CBLAS_ORDER order, const IndexType m, const IndexType n, T *a, const IndexType lda, IndexType *ipivot) |
Referenced by lama::OpenMPInterface::OpenMPInterface().
IndexType(* lama::LAPACKInterface< T >::getri)(const enum CBLAS_ORDER, const IndexType n, T *a, const IndexType lda, IndexType *ipivot) |
Referenced by lama::OpenMPInterface::OpenMPInterface().
void(* lama::LAPACKInterface< T >::laswp)(const enum CBLAS_ORDER order, const IndexType n, T *A, const IndexType lda, const IndexType k1, const IndexType k2, const IndexType *ipiv, const IndexType incx, SyncToken *syncToken) |
Referenced by lama::CUDAInterface::CUDAInterface(), and lama::OpenMPInterface::OpenMPInterface().
IndexType(* lama::LAPACKInterface< T >::tptrs)(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const enum CBLAS_TRANSPOSE trans, const enum CBLAS_DIAG diag, const IndexType n, const IndexType nrhs, const T *AP, T *B, const IndexType ldb) |
Referenced by lama::OpenMPInterface::OpenMPInterface().
IndexType(* lama::LAPACKInterface< T >::trtrs)(const enum CBLAS_ORDER order, const enum CBLAS_UPLO uplo, const enum CBLAS_TRANSPOSE trans, const enum CBLAS_DIAG diag, const IndexType n, const IndexType nrhs, const T *A, const IndexType lda, T *B, const IndexType ldb) |
Referenced by lama::OpenMPInterface::OpenMPInterface().