LinearAlgebraOperationsExtensions.BandTriangularMultiplyInPlace<T, TStorage, TStorage2D>(ILinearAlgebraOperations<T>, MatrixTriangle, TransposeOperation, MatrixDiagonal, Int32, Int32, TStorage2D, TStorage) Method

Product of a triangular band matrix and a vector.

Definition

Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 9.0.0
C#
public static void BandTriangularMultiplyInPlace<T, TStorage, TStorage2D>(
	this ILinearAlgebraOperations<T> operations,
	MatrixTriangle storedTriangle,
	TransposeOperation transposeOperation,
	MatrixDiagonal diagonal,
	int n,
	int k,
	TStorage2D a,
	TStorage x
)
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.
transposeOperation  TransposeOperation
Specifies the operation to be performed on the matrix a.
diagonal  MatrixDiagonal
Specifies whether or not a is unit triangular.
n  Int32
The number of rows and columns in the matrix a.
k  Int32
The bandwidth of the matrix a.
a  TStorage2D
A span that contains the elements of the matrix.
x  TStorage
A reference to a one-dimensional array containing the elements of the vector x. The elements of x are overwritten with the result.

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).

Remarks

This method is similar to the BLAS routine DTBMV.

See Also