ScriptIntrinsicBLAS.DGBMV Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
DGBMV performs one of the matrix-vector operations y := alphaAx + betay or y := alphaA**Tx + betay
[Android.Runtime.Register("DGBMV", "(IIIDLandroid/renderscript/Allocation;Landroid/renderscript/Allocation;IDLandroid/renderscript/Allocation;I)V", "", ApiSince=23)]
public void DGBMV (int TransA, int KL, int KU, double alpha, Android.Renderscripts.Allocation? A, Android.Renderscripts.Allocation? X, int incX, double beta, Android.Renderscripts.Allocation? Y, int incY);
[<Android.Runtime.Register("DGBMV", "(IIIDLandroid/renderscript/Allocation;Landroid/renderscript/Allocation;IDLandroid/renderscript/Allocation;I)V", "", ApiSince=23)>]
member this.DGBMV : int * int * int * double * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * int * double * Android.Renderscripts.Allocation * int -> unit
Parameters
- TransA
- Int32
The type of transpose applied to matrix A.
- KL
- Int32
The number of sub-diagonals of the matrix A.
- KU
- Int32
The number of super-diagonals of the matrix A.
- alpha
- Double
The scalar alpha.
The input allocation contains the band matrix A, supported elements type Element#F64
.
The input allocation contains vector x, supported elements type Element#F64
.
- incX
- Int32
The increment for the elements of vector x, must be larger than zero.
- beta
- Double
The scalar beta.
The input allocation contains vector y, supported elements type Element#F64
.
- incY
- Int32
The increment for the elements of vector y, must be larger than zero.
- Attributes
Remarks
DGBMV performs one of the matrix-vector operations y := alpha*A*x + beta*y or y := alpha*A**T*x + beta*y
Details: http://www.netlib.org/lapack/explore-html/d2/d3f/dgbmv_8f.html
Note: For a M*N matrix, the input Allocation should also be of size M*N (dimY = M, dimX = N), but only the region M*(KL+KU+1) will be referenced. The following subroutine can is an example showing how to convert the original matrix 'a' to row-based band matrix 'b'. for i in range(0, m): for j in range(max(0, i-kl), min(i+ku+1, n)): b[i, j-i+kl] = a[i, j]
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.