LinearAlgebraOperations.HermitianRankUpdate Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

HermitianRankUpdate<T>(MatrixTriangle, Int32, T, ArraySlice<Complex<T>>, Array2D<Complex<T>>)

Performs a rank one update of a hermitian.
C#
public static void HermitianRankUpdate<T>(
	MatrixTriangle storedTriangle,
	int n,
	T alpha,
	ArraySlice<Complex<T>> x,
	Array2D<Complex<T>> 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  ArraySlice<Complex<T>>
A reference to a one-dimensional array containing the elements of the vector x.
a  Array2D<Complex<T>>
Reference to the first element in a one-dimensional array that contains the elements of the matrix.

Type Parameters

T

HermitianRankUpdate<T>(MatrixTriangle, Int32, Complex<T>, ArraySlice<Complex<T>>, ArraySlice<Complex<T>>, Array2D<Complex<T>>)

Performs a hermitian rank two update of a hermitian matrix.
C#
public static void HermitianRankUpdate<T>(
	MatrixTriangle storedTriangle,
	int n,
	Complex<T> alpha,
	ArraySlice<Complex<T>> x,
	ArraySlice<Complex<T>> y,
	Array2D<Complex<T>> 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  Complex<T>
The scalar used to multiply the outer product.
x  ArraySlice<Complex<T>>
A reference to a one-dimensional array containing the elements of the vector x.
y  ArraySlice<Complex<T>>
A reference to a one-dimensional array containing the elements of the vector y.
a  Array2D<Complex<T>>
Reference to the first element in a one-dimensional array that contains the elements of the matrix.

Type Parameters

T

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

Performs a rank k update of a hermitian matrix.
C#
public static void HermitianRankUpdate<T>(
	MatrixTriangle storedTriangle,
	TransposeOperation trans,
	int n,
	int k,
	T alpha,
	Array2D<Complex<T>> a,
	T beta,
	Array2D<Complex<T>> 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  Array2D<Complex<T>>
Reference to the first element in a one-dimensional array that contains the elements of the first matrix.
beta  T
The scalar used to multiply c.
c  Array2D<Complex<T>>
Reference to the first element in a one-dimensional array that contains the elements of the third matrix.

Type Parameters

T

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

Performs a rank 2k update of a hermitian matrix.
C#
public static void HermitianRankUpdate<T>(
	MatrixTriangle storedTriangle,
	TransposeOperation trans,
	int n,
	int k,
	Complex<T> alpha,
	Array2D<Complex<T>> a,
	Array2D<Complex<T>> b,
	T beta,
	Array2D<Complex<T>> 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  Complex<T>
The scalar used to multiply the matrix-matrix product.
a  Array2D<Complex<T>>
Reference to the first element in a one-dimensional array that contains the elements of the first matrix.
b  Array2D<Complex<T>>
Reference to the first element in a one-dimensional array that contains the elements of the second matrix.
beta  T
The scalar used to multiply c.
c  Array2D<Complex<T>>
Reference to the first element in a one-dimensional array that contains the elements of the third matrix.

Type Parameters

T

See Also