num::kernel::ger¶
Defined in header <kernel/dense.hpp>
template <std::floating_point T>
void ger(T *A, idx lda, const T *x, const T *y, T alpha, idx m, idx n) noexcept; // (1)
template <std::floating_point T>
void ger(T *A, const T *x, const T *y, T alpha, idx m, idx n) noexcept; // (2)
(1) Rank-1 matrix update \(A \leftarrow A + \alpha \mathbf{x} \mathbf{y}^T\) on an \(m \times n\) block with row stride lda.
(2) Rank-1 matrix update \(A \leftarrow A + \alpha \mathbf{x} \mathbf{y}^T\) for \(A \in \mathbb{R}^{m \times n}\).