ILinear Algebra Operations<T>.Band Multiply And Add In Place Method
Sum of the product of a general band matrix and vector and a scaled vector.
Definition
Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
void BandMultiplyAndAddInPlace(
TransposeOperation transposeOperation,
int m,
int n,
int kl,
int ku,
T alpha,
ReadOnlySpan<T> a,
int lda,
ReadOnlySpan<T> x,
int incx,
T beta,
Span<T> y,
int incy
)
Parameters
- transposeOperation TransposeOperation
- Specifies the operation to be performed on the matrix a.
- m Int32
- The number of rows in the matrix a.
- n Int32
- The number of columns in the matrix a.
- kl Int32
- The lower bandwidth of the matrix a.
- ku Int32
- The upper 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 DGBMV.