pub unsafe fn ger(
m: usize,
n: usize,
alpha: f64,
x: *const f64,
y: *const f64,
ldy: usize,
a: *mut f64,
lda: usize,
)Expand description
Performs a general rank-1 update operation on a matrix.
$A := \alpha \cdot x \cdot y^T + A$
of length n, and alpha is a scalar. This operation adds the outer product
of vectors x and y (scaled by alpha) to the matrix A.
ยงArguments
m- The number of rows of the matrixA, and the length of vectorx.n- The number of columns of the matrixA, and the number of elements in vectory.alpha- The scalar multiplieralpha.x- A raw constant pointer to the first element of the vectorx. Assumed to have a stride of 1.y- A raw constant pointer to the first element of the vectory.ldy- The stride between consecutive elements of the vectory.a- A raw mutable pointer to the first element of the matrixA(in column-major order).lda- The leading dimension of the matrixA, i.e., the stride between consecutive columns.