ILinearAlgebraOperations<T, TVector, TMatrix>.HermitianRankUpdate Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

HermitianRankUpdate(MatrixTriangle, Int32, T, TVector, TMatrix)

Performs a rank one update of a hermitian.
C#
void HermitianRankUpdate(
	MatrixTriangle storedTriangle,
	int n,
	T alpha,
	TVector x,
	TMatrix a
)

Parameters

storedTriangle  MatrixTriangle
Specifies whether the matrix is an upper or lower triangular matrix.
n  Int32
The number of rows and columns in the matrix a.
alpha  T
The scalar used to multiply the outer product.
x  TVector
A reference to a one-dimensional array containing the elements of the vector x.
a  TMatrix
A span that contains the elements of the matrix.

HermitianRankUpdate(MatrixTriangle, Int32, T, TVector, TVector, TMatrix)

Performs a hermitian rank two update of a hermitian matrix.
C#
void HermitianRankUpdate(
	MatrixTriangle storedTriangle,
	int n,
	T alpha,
	TVector x,
	TVector y,
	TMatrix a
)

Parameters

storedTriangle  MatrixTriangle
Specifies whether the matrix is an upper or lower triangular matrix.
n  Int32
The number of rows and columns in the matrix a.
alpha  T
The scalar used to multiply the outer product.
x  TVector
A reference to a one-dimensional array containing the elements of the vector x.
y  TVector
A reference to a one-dimensional array containing the elements of the vector y.
a  TMatrix
A span that contains the elements of the matrix.

HermitianRankUpdate(MatrixTriangle, TransposeOperation, Int32, Int32, T, TMatrix, T, TMatrix)

Performs a rank k update of a hermitian matrix.
C#
void HermitianRankUpdate(
	MatrixTriangle storedTriangle,
	TransposeOperation trans,
	int n,
	int k,
	T alpha,
	TMatrix a,
	T beta,
	TMatrix c
)

Parameters

storedTriangle  MatrixTriangle
Specifies whether the elements of the matrix a are stored in the upper or lower triangular part.
trans  TransposeOperation
Specifies the operation to be performed on the matrix a.
n  Int32
The number of rows and columns in the matrix c.
k  Int32
The number of columns in the matrix a transformed as specified by trans.
alpha  T
The scalar used to multiply the matrix-matrix product.
a  TMatrix
A span that contains the elements of the first matrix.
beta  T
The scalar used to multiply c.
c  TMatrix
A span that contains the elements of the third matrix.

HermitianRankUpdate(MatrixTriangle, TransposeOperation, Int32, Int32, T, TMatrix, TMatrix, T, TMatrix)

Performs a rank 2k update of a hermitian matrix.
C#
void HermitianRankUpdate(
	MatrixTriangle storedTriangle,
	TransposeOperation trans,
	int n,
	int k,
	T alpha,
	TMatrix a,
	TMatrix b,
	T beta,
	TMatrix c
)

Parameters

storedTriangle  MatrixTriangle
Specifies whether the elements of the matrix a are stored in the upper or lower triangular part.
trans  TransposeOperation
Specifies the operation to be performed on the matrix a.
n  Int32
The number of rows and columns in the matrix c.
k  Int32
The number of columns in the matrix a transformed as specified by trans.
alpha  T
The scalar used to multiply the matrix-matrix product.
a  TMatrix
A span that contains the elements of the first matrix.
b  TMatrix
A span that contains the elements of the second matrix.
beta  T
The scalar used to multiply c.
c  TMatrix
A span that contains the elements of the third matrix.

See Also