ILinear Algebra Operations<T>.Band Symmetric Multiply And Add In Place 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.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
void BandSymmetricMultiplyAndAddInPlace(
MatrixTriangle storedTriangle,
int n,
int k,
T alpha,
ReadOnlySpan<T> a,
int lda,
ReadOnlySpan<T> x,
int incx,
T beta,
Span<T> y,
int incy
)
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 ReadOnlySpan<T>
- A span that contains the elements of the matrix.
- lda Int32
- The leading dimension of the matrix a.
- x ReadOnlySpan<T>
- A span containing the elements of the vector x.
- incx Int32
- The distance between elements in x.
- beta T
- The scalar used to multiply y.
- y Span<T>
- A span containing the elements of the vector y. The elements of y are overwritten with the result.
- incy Int32
- The distance between elements in y.
Remarks
This method is similar to the BLAS routine DSBMV.