LinearAlgebraOperations.HermitianRankUpdate Method

Definition

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

Overload List

HermitianRankUpdate<T, TStorage, TStorage2D>(MatrixTriangle, Int32, T, TStorage, TStorage2D)

Performs a rank one update of a hermitian.
C#
public static void HermitianRankUpdate<T, TStorage, TStorage2D>(
	MatrixTriangle storedTriangle,
	int n,
	T alpha,
	TStorage x,
	TStorage2D a
)
where TStorage : Object, IStorageSlice<Complex<T>, TStorage>
where TStorage2D : Object, IStorage2D<Complex<T>, TStorage2D>

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

Type Parameters

T
TStorage
TStorage2D

HermitianRankUpdate<T, TStorage, TStorage2D>(MatrixTriangle, Int32, Complex<T>, TStorage, TStorage, TStorage2D)

Performs a hermitian rank two update of a hermitian matrix.
C#
public static void HermitianRankUpdate<T, TStorage, TStorage2D>(
	MatrixTriangle storedTriangle,
	int n,
	Complex<T> alpha,
	TStorage x,
	TStorage y,
	TStorage2D a
)
where TStorage : Object, IStorageSlice<Complex<T>, TStorage>
where TStorage2D : Object, IStorage2D<Complex<T>, TStorage2D>

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  Complex<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

HermitianRankUpdate<T, TStorage2D>(MatrixTriangle, TransposeOperation, Int32, Int32, T, TStorage2D, T, TStorage2D)

Performs a rank k update of a hermitian matrix.
C#
public static void HermitianRankUpdate<T, TStorage2D>(
	MatrixTriangle storedTriangle,
	TransposeOperation trans,
	int n,
	int k,
	T alpha,
	TStorage2D a,
	T beta,
	TStorage2D c
)
where TStorage2D : Object, IStorage2D<Complex<T>, TStorage2D>

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  TStorage2D
A span that contains the elements of the first matrix.
beta  T
The scalar used to multiply c.
c  TStorage2D
A span that contains the elements of the third matrix.

Type Parameters

T
TStorage2D

HermitianRankUpdate<T, TStorage2D>(MatrixTriangle, TransposeOperation, Int32, Int32, Complex<T>, TStorage2D, TStorage2D, T, TStorage2D)

Performs a rank 2k update of a hermitian matrix.
C#
public static void HermitianRankUpdate<T, TStorage2D>(
	MatrixTriangle storedTriangle,
	TransposeOperation trans,
	int n,
	int k,
	Complex<T> alpha,
	TStorage2D a,
	TStorage2D b,
	T beta,
	TStorage2D c
)
where TStorage2D : Object, IStorage2D<Complex<T>, TStorage2D>

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  Complex<T>
The scalar used to multiply the matrix-matrix product.
a  TStorage2D
A span that contains the elements of the first matrix.
b  TStorage2D
A span that contains the elements of the second matrix.
beta  T
The scalar used to multiply c.
c  TStorage2D
A span that contains the elements of the third matrix.

Type Parameters

T
TStorage2D

See Also