ILinearAlgebraOperations<T, TVector, TMatrix>.BandSymmetricMultiplyAndAddInPlace Method

Product of a symmetric band matrix and a vector.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
Reference to the first element in a one-dimensional array 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