mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
templateBLAS.hpp File Reference

Declares and defines templatized wrappers for the BLAS. More...

Declares and defines templatized wrappers for the BLAS.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file templateBLAS.hpp.

Go to the source code of this file.

Namespaces

 mx
 The mxlib c++ namespace.
 

Functions

template<typename dataT >
void mx::math::scal (const int N, const dataT &alpha, dataT *X, const int incX)
 Template wrapper for cblas xSCAL. More...
 
template<typename dataT >
void mx::math::hadp_impl (const int N, dataT *__restrict__ Y, dataT *__restrict__ X)
 Implementation of the Hadamard (element-wise) product of two vectors. More...
 
template<typename dataT >
void mx::math::hadp (const int N, dataT *Y, dataT *X)
 Template wrapper for cblas-extension xHADP. More...
 
template<typename dataT >
void mx::math::hadd_impl (const int N, const dataT alpha, const dataT *Y, const int incY, dataT *X, const int incX)
 Implementation of the Hadamard (element-wise) division of two vectors. More...
 
template<typename dataT >
void mx::math::hadd (const int N, const dataT alpha, const dataT *Y, const int incY, dataT *X, const int incX)
 Template wrapper for cblas-extension xHADD. More...
 
template<typename dataT >
void mx::math::gemm (const CBLAS_ORDER Order, const CBLAS_TRANSPOSE TransA, const CBLAS_TRANSPOSE TransB, const int M, const int N, const int K, const dataT &alpha, const dataT *A, const int lda, const dataT *B, const int ldb, const dataT &beta, dataT *C, const int ldc)
 Template Wrapper for cblas xGEMM. More...
 
template<typename dataT >
void mx::math::syrk (const CBLAS_ORDER Order, const CBLAS_UPLO Uplo, const CBLAS_TRANSPOSE Trans, const int N, const int K, const dataT &alpha, const dataT *A, const int lda, const dataT &beta, dataT *C, const int ldc)
 Template Wrapper for cblas xSYRK. More...