Linear Algebra Operations.Band Symmetric Multiply And Add In Place<T, TStorage, TStorage2D> Method
Product of a symmetric band matrix and a vector.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static void BandSymmetricMultiplyAndAddInPlace<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 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 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.
- beta T
- The scalar used to multiply y.
- y TStorage
- A reference to a one-dimensional array containing the elements of the vector y. The elements of y are overwritten with the result.
Type Parameters
- T
- TStorage
- TStorage2D
Remarks
This method is similar to the BLAS routine DSBMV.