LinearAlgebraOperations.BandHermitianMultiplyAndAddInPlace<T, TStorage, TStorage2D> Method

Multiplies a Hermitian band matrix by a vector, scales the result, and adds it to a scaled vector.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.8.0
C#
public static void BandHermitianMultiplyAndAddInPlace<T, TStorage, TStorage2D>(
	MatrixTriangle storedTriangle,
	int n,
	int k,
	T alpha,
	TStorage2D a,
	TStorage x,
	T beta,
	TStorage y
)
where TStorage : Object, IStorageSlice<T>
where TStorage2D : Object, IStorage2D<T>

Parameters

storedTriangle  MatrixTriangle
Specifies the stored triangle.
n  Int32
The order of the matrix.
k  Int32
The bandwidth of the matrix.
alpha  T
The matrix-vector product scale factor.
a  TStorage2D
The compact band matrix storage.
x  TStorage
The input vector storage.
beta  T
The existing-result scale factor.
y  TStorage
The result vector storage.

Type Parameters

T
TStorage
TStorage2D

See Also