LinearAlgebraOperationsExtensions.HermitianRankUpdate Method

Definition

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

HermitianRankUpdate<T>(ILinearAlgebraOperations<T>, MatrixTriangle, Int32, T, ReadOnlySpanSlice<T>, Span2D<T>)

Performs a rank one update of a hermitian.
C#
public static void HermitianRankUpdate<T>(
	this ILinearAlgebraOperations<T> operations,
	MatrixTriangle storedTriangle,
	int n,
	T alpha,
	ReadOnlySpanSlice<T> x,
	Span2D<T> a
)

Parameters

operations  ILinearAlgebraOperations<T>
The object that performs the operation.
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  ReadOnlySpanSlice<T>
A reference to a one-dimensional array containing the elements of the vector x.
a  Span2D<T>
A span that contains the elements of the matrix.

Type Parameters

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

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

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

Parameters

operations  ILinearAlgebraOperations<T>
The linear algebra operations instance used to perform the calculation.
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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

HermitianRankUpdate<T>(ILinearAlgebraOperations<T>, MatrixTriangle, Int32, T, ReadOnlySpanSlice<T>, ReadOnlySpanSlice<T>, Span2D<T>)

Performs a hermitian rank two update of a hermitian matrix.
C#
public static void HermitianRankUpdate<T>(
	this ILinearAlgebraOperations<T> operations,
	MatrixTriangle storedTriangle,
	int n,
	T alpha,
	ReadOnlySpanSlice<T> x,
	ReadOnlySpanSlice<T> y,
	Span2D<T> a
)

Parameters

operations  ILinearAlgebraOperations<T>
The object that performs the operation.
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  ReadOnlySpanSlice<T>
A reference to a one-dimensional array containing the elements of the vector x.
y  ReadOnlySpanSlice<T>
A reference to a one-dimensional array containing the elements of the vector y.
a  Span2D<T>
A span that contains the elements of the matrix.

Type Parameters

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

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

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

Parameters

operations  ILinearAlgebraOperations<T>
The linear algebra operations instance used to perform the calculation.
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.
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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

HermitianRankUpdate<T>(ILinearAlgebraOperations<T>, MatrixTriangle, TransposeOperation, Int32, Int32, T, ReadOnlySpan2D<T>, T, Span2D<T>)

Performs a rank k update of a hermitian matrix.
C#
public static void HermitianRankUpdate<T>(
	this ILinearAlgebraOperations<T> operations,
	MatrixTriangle storedTriangle,
	TransposeOperation trans,
	int n,
	int k,
	T alpha,
	ReadOnlySpan2D<T> a,
	T beta,
	Span2D<T> c
)

Parameters

operations  ILinearAlgebraOperations<T>
The object that performs the operation.
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  ReadOnlySpan2D<T>
A span that contains the elements of the first matrix.
beta  T
The scalar used to multiply c.
c  Span2D<T>
A span that contains the elements of the third matrix.

Type Parameters

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

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

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

Parameters

operations  ILinearAlgebraOperations<T>
The linear algebra operations instance used to perform the calculation.
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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

HermitianRankUpdate<T>(ILinearAlgebraOperations<T>, MatrixTriangle, TransposeOperation, Int32, Int32, T, ReadOnlySpan2D<T>, ReadOnlySpan2D<T>, T, Span2D<T>)

Performs a rank 2k update of a hermitian matrix.
C#
public static void HermitianRankUpdate<T>(
	this ILinearAlgebraOperations<T> operations,
	MatrixTriangle storedTriangle,
	TransposeOperation trans,
	int n,
	int k,
	T alpha,
	ReadOnlySpan2D<T> a,
	ReadOnlySpan2D<T> b,
	T beta,
	Span2D<T> c
)

Parameters

operations  ILinearAlgebraOperations<T>
The object that performs the operation.
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  ReadOnlySpan2D<T>
A span that contains the elements of the first matrix.
b  ReadOnlySpan2D<T>
A span that contains the elements of the second matrix.
beta  T
The scalar used to multiply c.
c  Span2D<T>
A span that contains the elements of the third matrix.

Type Parameters

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

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

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

Parameters

operations  ILinearAlgebraOperations<T>
The linear algebra operations instance used to perform the calculation.
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.
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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also