gemv
gemv, short for general matrix–vector multiplication, is a routine from the BLAS (Basic Linear Algebra Subprograms) library. It computes a linear combination of a matrix–vector product and a scaled existing vector, delivering y = alpha * op(A) * x + beta * y, where A is a general matrix, x and y are vectors, and alpha and beta are scalars. The routine supports real and complex data and can apply a transpose or conjugate transpose to A.
The operation uses an input matrix A of size m by n and two vectors x and
In practice, gemv is used for matrix–vector products within iterative solvers, projections, and various linear algebra