ILinearAlgebraOperations<T>.RankUpdate Method

Performs a rank one update of a matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
void RankUpdate(
	int m,
	int n,
	T alpha,
	ReadOnlySpan<T> x,
	int incx,
	ReadOnlySpan<T> y,
	int incy,
	Span<T> a,
	int lda
)

Parameters

m  Int32
The number of rows in the matrix a.
n  Int32
The number of columns in the matrix a.
alpha  T
The scalar used to multiply the outer product.
x  ReadOnlySpan<T>
A span containing the elements of the vector x.
incx  Int32
The distance between elements in x.
y  ReadOnlySpan<T>
A span containing the elements of the vector y.
incy  Int32
The distance between elements in y.
a  Span<T>
A span that contains the elements of the matrix.
lda  Int32
The leading dimension of the matrix a.

Remarks

This method is similar to the BLAS routine DGER.

See Also