|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Declares and defines templatized wrappers for the BLAS. More...
Declares and defines templatized wrappers for the BLAS.
Definition in file templateBLAS.hpp.
#include <complex>#include <gsl/gsl_cblas.h>Go to the source code of this file.
Namespaces | |
| namespace | 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. | |
| 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. | |
| template<typename dataT> | |
| void | mx::math::hadp (const int N, dataT *Y, dataT *X) |
| Template wrapper for cblas-extension xHADP. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |