Tatooine
Functions

General Matrix-Vector-Multiplication. More...

Collaboration diagram for GEMV:

Functions

template<std::floating_point Float>
auto tatooine::blas::gemv (op TRANS, int M, int N, Float ALPHA, Float const *A, int LDA, Float const *X, int INCX, Float BETA, Float *Y, int INCY) -> void
 
template<typename Real >
auto tatooine::blas::gemv (op trans, Real const alpha, tensor< Real > const &A, tensor< Real > const &x, Real const beta, tensor< Real > &y)
 See GEMV. More...
 
template<typename Real >
auto tatooine::blas::gemv (Real const alpha, tensor< Real > const &A, tensor< Real > const &x, Real const beta, tensor< Real > &y)
 See GEMV. More...
 

Detailed Description

General Matrix-Vector-Multiplication.

GEMV performs one of the matrix-vector operations

\[\vy = \alpha\cdot\mA\cdot\vx + \beta*\vy\ \ \text{ or }\ \ \vy = \alpha\cdot\mA^\top\cdot\vx + \beta*\vy\]

where \(\alpha\) and \(\beta\) are scalars, \(\vx\) and \(\vy\) are vectors and \(\mA\) is an \(m \times n\) matrix.

Function Documentation

◆ gemv() [1/3]

template<std::floating_point Float>
auto tatooine::blas::gemv ( op  TRANS,
int  M,
int  N,
Float  ALPHA,
Float const *  A,
int  LDA,
Float const *  X,
int  INCX,
Float  BETA,
Float *  Y,
int  INCY 
) -> void

◆ gemv() [2/3]

template<typename Real >
auto tatooine::blas::gemv ( op  trans,
Real const  alpha,
tensor< Real > const &  A,
tensor< Real > const &  x,
Real const  beta,
tensor< Real > &  y 
)

See GEMV.

◆ gemv() [3/3]

template<typename Real >
auto tatooine::blas::gemv ( Real const  alpha,
tensor< Real > const &  A,
tensor< Real > const &  x,
Real const  beta,
tensor< Real > &  y 
)

See GEMV.