Content |
BLAS Level 2: mv
mv (defined in namespace flens::blas) computes matrix vector products.
Depending on the involved matrix type specialized variants are defined.
General Matrix
For a general matrix \(A\) and dense vectors \(x\), \(y\) the function computes matrix-vector products of the form \(y \leftarrow \beta y + \alpha \, \text{op}(A) \, x\) where \(\text{op}(X)\) denotes \(X\), \(X^T\) or \(X^H\).
GeMatrix
trans |
(input)
|
||||||
alpha |
(input) real or complex scalar value |
||||||
A |
(input) real or complex valued GeMatrix |
||||||
x |
(input) real or complex valued DenseVector |
||||||
beta |
(input) |
||||||
y |
(input/output) real or complex valued DenseVector |
Triangular Matrix
For a triangular matrix \(A\) and a dense vectors \(x\) the function computes matrix-vector products of the form \(x \leftarrow \text{op}(A) \, x\) where \(\text{op}(X)\) denotes \(X\), \(X^T\) or \(X^H\).
trans |
(input)
|
||||||
A |
(input) real or complex valued TrMatrix |
||||||
x |
(input/output) real or complex valued DenseVector |
Symmetric Matrix
For a symmetric matrix \(A\) and dense vectors \(x, y\) the function computes matrix-vector products of the form \(y \leftarrow \beta y + \alpha \, A \, x\).
SyMatrix
alpha |
(input) real or complex scalar value |
A |
(input) real or complex valued SyMatrix |
x |
(input) real or complex valued DenseVector |
beta |
(input) |
y |
(input/output) real or complex valued DenseVector |
Hermitian Matrix
For a hermitian matrix \(A\) and dense vectors \(x, y\) the function computes matrix-vector products of the form \(y \leftarrow \beta y + \alpha \, A \, x\).
HeMatrix
alpha |
(input) real or complex scalar value |
A |
(input) real or complex valued HeMatrix |
x |
(input) real or complex valued DenseVector |
beta |
(input) |
y |
(input/output) real or complex valued DenseVector |
Defined in namespace flens::blas. Function mv with 5 template parameters.