LAMA
lama::LAPACKInterface< T > Struct Template Reference

Structure with pointers for routines using LAPACK. More...

#include <LAMAInterface.hpp>

Inheritance diagram for lama::LAPACKInterface< T >:

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)

Detailed Description

template<typename T>
struct lama::LAPACKInterface< T >

Structure with pointers for routines using LAPACK.


Constructor & Destructor Documentation

template<typename T >
lama::LAPACKInterface< T >::LAPACKInterface ( )

Field Documentation

template<typename T>
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.

Parameters:
[in]nspecifies the order of the matrix a
[in,out]ais the matrix for which the inverse is computed in-place
[in]ldafor the leading dimension of the array A
Exceptions:
Exceptionif 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().

template<typename T>
IndexType(* lama::LAPACKInterface< T >::getrf)(const enum CBLAS_ORDER order, const IndexType m, const IndexType n, T *a, const IndexType lda, IndexType *ipivot)
template<typename T>
IndexType(* lama::LAPACKInterface< T >::getri)(const enum CBLAS_ORDER, const IndexType n, T *a, const IndexType lda, IndexType *ipivot)
template<typename T>
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)
template<typename T>
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)
template<typename T>
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)

The documentation for this struct was generated from the following files: