Linear Algebra Operations.Band Multiply And Add In Place<T> Method
Sum of the product of a general band matrix and vector and a scaled vector.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static void BandMultiplyAndAddInPlace<T>(
TransposeOperation transposeOperation,
int m,
int n,
int kl,
int ku,
T alpha,
Array2D<T> a,
ArraySlice<T> x,
T beta,
ArraySlice<T> y
)
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 Array2D<T>
- Reference to the first element in a one-dimensional array that contains the elements of the matrix.
- x ArraySlice<T>
- A reference to a one-dimensional array containing the elements of the vector x.
- beta T
- The scalar used to multiply y.
- y ArraySlice<T>
- 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
Remarks
This method is similar to the BLAS routine DGBMV.