gemv< do_trans_A, use_alpha, use_beta > Class Template Reference
[Gemv]
Wrapper for ATLAS/BLAS gemv function, using template arguments to control the arguments passed to gemv. 'y' is assumed to have been set to the correct size (i.e. taking into account the transpose).
More...
#include <gemv.hpp>
List of all members.
Static Public Member Functions |
static arma_inline void | apply (std::complex< double > *y, const Mat< std::complex< double > > &A, const std::complex< double > *x, const std::complex< double > alpha=std::complex< double >(1), const std::complex< double > beta=std::complex< double >(0)) |
static arma_inline void | apply (std::complex< float > *y, const Mat< std::complex< float > > &A, const std::complex< float > *x, const std::complex< float > alpha=std::complex< float >(1), const std::complex< float > beta=std::complex< float >(0)) |
static arma_inline void | apply (double *y, const Mat< double > &A, const double *x, const double alpha=double(1), const double beta=double(0)) |
static arma_inline void | apply (float *y, const Mat< float > &A, const float *x, const float alpha=float(1), const float beta=float(0)) |
template<typename eT > |
static arma_inline void | apply (eT *y, const Mat< eT > &A, const eT *x, const eT alpha=eT(1), const eT beta=eT(0)) |
template<typename eT > |
static void | apply_blas_type (eT *y, const Mat< eT > &A, const eT *x, const eT alpha=eT(1), const eT beta=eT(0)) |
Detailed Description
template<const bool do_trans_A = false, const bool use_alpha = false, const bool use_beta = false>
class gemv< do_trans_A, use_alpha, use_beta >
Wrapper for ATLAS/BLAS gemv function, using template arguments to control the arguments passed to gemv. 'y' is assumed to have been set to the correct size (i.e. taking into account the transpose).
Definition at line 332 of file gemv.hpp.
Member Function Documentation
template<const bool do_trans_A = false, const bool use_alpha = false, const bool use_beta = false>
static arma_inline void gemv< do_trans_A, use_alpha, use_beta >::apply |
( |
std::complex< double > * |
y, |
|
|
const Mat< std::complex< double > > & |
A, |
|
|
const std::complex< double > * |
x, |
|
|
const std::complex< double > |
alpha = std::complex<double>(1) , |
|
|
const std::complex< double > |
beta = std::complex<double>(0) | |
|
) |
| | [inline, static] |
template<const bool do_trans_A = false, const bool use_alpha = false, const bool use_beta = false>
static arma_inline void gemv< do_trans_A, use_alpha, use_beta >::apply |
( |
std::complex< float > * |
y, |
|
|
const Mat< std::complex< float > > & |
A, |
|
|
const std::complex< float > * |
x, |
|
|
const std::complex< float > |
alpha = std::complex<float>(1) , |
|
|
const std::complex< float > |
beta = std::complex<float>(0) | |
|
) |
| | [inline, static] |
template<const bool do_trans_A = false, const bool use_alpha = false, const bool use_beta = false>
static arma_inline void gemv< do_trans_A, use_alpha, use_beta >::apply |
( |
double * |
y, |
|
|
const Mat< double > & |
A, |
|
|
const double * |
x, |
|
|
const double |
alpha = double(1) , |
|
|
const double |
beta = double(0) | |
|
) |
| | [inline, static] |
template<const bool do_trans_A = false, const bool use_alpha = false, const bool use_beta = false>
static arma_inline void gemv< do_trans_A, use_alpha, use_beta >::apply |
( |
float * |
y, |
|
|
const Mat< float > & |
A, |
|
|
const float * |
x, |
|
|
const float |
alpha = float(1) , |
|
|
const float |
beta = float(0) | |
|
) |
| | [inline, static] |
template<const bool do_trans_A = false, const bool use_alpha = false, const bool use_beta = false>
template<typename eT >
static arma_inline void gemv< do_trans_A, use_alpha, use_beta >::apply |
( |
eT * |
y, |
|
|
const Mat< eT > & |
A, |
|
|
const eT * |
x, |
|
|
const eT |
alpha = eT(1) , |
|
|
const eT |
beta = eT(0) | |
|
) |
| | [inline, static] |
template<const bool do_trans_A = false, const bool use_alpha = false, const bool use_beta = false>
template<typename eT >
static void gemv< do_trans_A, use_alpha, use_beta >::apply_blas_type |
( |
eT * |
y, |
|
|
const Mat< eT > & |
A, |
|
|
const eT * |
x, |
|
|
const eT |
alpha = eT(1) , |
|
|
const eT |
beta = eT(0) | |
|
) |
| | [inline, static] |
The documentation for this class was generated from the following file: