Content |
BLAS Level 3: rk
rk (defined in namespace flens::blas) computes hermitian or symmetric rank \(2\) operations.
Hermitian Rank \(k\) Operations
For a hermitian matrix \(C\) and a general matrices \(A\) the function computes rank \(k\) operations
\[ C \leftarrow \beta\,C + \alpha\,A\,A^H \]or
\[ C \leftarrow \beta\,C + \alpha\,A^H\,A \]\(C\) is an \(n \times n\) hermitian matrix and \(A\) an \(n \times k\) matrix in the first case and an \(k \times n\) matrix in the second case.
trans |
(input)
|
||||
A |
(input) real or complex valued GeMatrix |
||||
beta |
(input) |
||||
C |
(input/output) real or complex valued HeMatrix |
Symmetric Rank \(k\) Operations
For a symmetric matrix \(C\) and a general matrices \(A\) the function computes rank \(k\) operations
\[ C \leftarrow \beta\,C + \alpha\,A\,A^T \]or
\[ C \leftarrow \beta\,C + \alpha\,A^T\,A \]\(C\) is an \(n \times n\) symmetric matrix and \(A\) an \(n \times k\) matrix in the first case and an \(k \times n\) matrix in the second case.
trans |
(input)
|
||||
A |
(input) real or complex valued GeMatrix |
||||
beta |
(input) |
||||
C |
(input/output) real or complex valued SyMatrix |