LinearAlgebraOperations.RankUpdate<T, TStorage, TStorage2D> Method

Performs a rank one update of a matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static void RankUpdate<T, TStorage, TStorage2D>(
	int m,
	int n,
	T alpha,
	TStorage x,
	TStorage y,
	TStorage2D a
)
where TStorage : Object, IStorageSlice<T>
where TStorage2D : Object, IStorage2D<T>

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  TStorage
A reference to a one-dimensional array containing the elements of the vector x.
y  TStorage
A reference to a one-dimensional array containing the elements of the vector y.
a  TStorage2D
A span that contains the elements of the matrix.

Type Parameters

T
TStorage
TStorage2D

Remarks

This method is similar to the BLAS routine DGER.

See Also