ILinearAlgebraOperations<T, TVector, TMatrix>.BandSymmetricMultiplyAndAddInPlace Method

Product of a symmetric band matrix and a vector.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
void BandSymmetricMultiplyAndAddInPlace(
	MatrixTriangle storedTriangle,
	int n,
	int k,
	T alpha,
	TMatrix a,
	TVector x,
	T beta,
	TVector y
)

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.
k  Int32
The bandwidth of the matrix a.
alpha  T
The scalar used to multiply the matrix-vector product.
a  TMatrix
A span that contains the elements of the matrix.
x  TVector
A reference to a one-dimensional array containing the elements of the vector x.
beta  T
The scalar used to multiply y.
y  TVector
A reference to a one-dimensional array containing the elements of the vector y. The elements of y are overwritten with the result.

Remarks

This method is similar to the BLAS routine DSBMV.

See Also