ScriptIntrinsicBLAS.SGBMV 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.
SGBMV performs one of the matrix-vector operations y := alphaAx + betay or y := alphaA**Tx + betay
[Android.Runtime.Register("SGBMV", "(IIIFLandroid/renderscript/Allocation;Landroid/renderscript/Allocation;IFLandroid/renderscript/Allocation;I)V", "", ApiSince=23)]
public void SGBMV (int TransA, int KL, int KU, float alpha, Android.Renderscripts.Allocation? A, Android.Renderscripts.Allocation? X, int incX, float beta, Android.Renderscripts.Allocation? Y, int incY);
[<Android.Runtime.Register("SGBMV", "(IIIFLandroid/renderscript/Allocation;Landroid/renderscript/Allocation;IFLandroid/renderscript/Allocation;I)V", "", ApiSince=23)>]
member this.SGBMV : int * int * int * single * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * int * single * 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
- Single
The scalar alpha.
The input allocation contains the band matrix A, supported elements type Element#F32
.
The input allocation contains vector x, supported elements type Element#F32
.
- incX
- Int32
The increment for the elements of vector x, must be larger than zero.
- beta
- Single
The scalar beta.
The input allocation contains vector y, supported elements type Element#F32
.
- incY
- Int32
The increment for the elements of vector y, must be larger than zero.
- Attributes
Remarks
SGBMV 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/d6/d46/sgbmv_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.