Content |
BLAS Level 3: mm
mm (defined in namespace flens::blas) computes matrix-matrix products.
General Matrix
For general matrices \(A\), \(B\) and \(C\) the function computes matrix-matrix products of the form
\[ C \leftarrow \beta C + \alpha\,\text{op}(A)\,\text{op}(B) \]where \(\text{op}(X)\) denotes \(X\), \(X^T\) or \(X^H\).
transA |
(input)
|
||||||
transB |
(input)
|
||||||
alpha |
(input) |
||||||
A |
(input) real or complex valued GeMatrix |
||||||
B |
(input) real or complex valued GeMatrix |
||||||
beta |
(input) |
||||||
C |
(input/output) real or complex valued GeMatrix |
Triangular Matrix
For a triangular matrix \(A\) and a general matrices \(B\) the function computes matrix-matrix products of the form
\[ B \leftarrow \alpha\,\text{op}(A)\,B \]or
\[ B \leftarrow \alpha\,B\,\text{op}(A) \]where \(\text{op}(X)\) denotes \(X\), \(X^T\) or \(X^H\).
side |
(input)
|
||||||
transA |
(input)
|
||||||
alpha |
(input) |
||||||
A |
(input) real or complex valued GeMatrix |
||||||
B |
(input/output) real or complex valued GeMatrix |
Symmetric Matrix
For a symmetric matrix \(A\) and general matrices \(B\) and \(C\) the function computes matrix-matrix products of the form
\[ C \leftarrow \beta C + \alpha\,A\,B \]or
\[ C \leftarrow \beta C + \alpha\,B\,A, \]i.e. the symmetric matrix \(A\) can be multiplies from left or right.
side |
(input)
|
||||
alpha |
(input) |
||||
A |
(input) real or complex valued SyMatrix |
||||
B |
(input) real or complex valued GeMatrix |
||||
beta |
(input) |
||||
C |
(input/output) real or complex valued GeMatrix |
Hermitian Matrix
For a hermitial matrix \(A\) and general matrices \(B\) and \(C\) the function computes matrix-matrix products of the form
\[ C \leftarrow \beta C + \alpha\,A\,B \]or
\[ C \leftarrow \beta C + \alpha\,B\,A, \]i.e. the hermitian matrix \(A\) can be multiplies from left or right.
side |
(input)
|
||||
alpha |
(input) |
||||
A |
(input) real or complex valued SyMatrix |
||||
B |
(input) real or complex valued GeMatrix |
||||
beta |
(input) |
||||
C |
(input/output) real or complex valued GeMatrix |