Static Public Member Functions | List of all members
gemv< do_trans_A, use_alpha, use_beta > Class Template Reference

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 <forward_bones.hpp>

Static Public Member Functions

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))
 
static arma_inline void apply (float *y, const Mat< float > &A, const float *x, const float alpha=float(1), const float beta=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 (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 (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))
 
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 83 of file forward_bones.hpp.

Member Function Documentation

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) 
)
inlinestatic

Definition at line 414 of file gemv.hpp.

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) 
)
inlinestatic

Definition at line 425 of file gemv.hpp.

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) 
)
inlinestatic

Definition at line 442 of file gemv.hpp.

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) 
)
inlinestatic

Definition at line 459 of file gemv.hpp.

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) 
)
inlinestatic

Definition at line 476 of file gemv.hpp.

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) 
)
inlinestatic

Definition at line 340 of file gemv.hpp.


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


armadillo_matrix
Author(s):
autogenerated on Fri Apr 16 2021 02:32:00