Aracılığıyla paylaş


ScriptIntrinsicBLAS.ZGBMV Method

Definition

ZGBMV performs one of the matrix-vector operations y := alphaAx + betay or y := alphaATx + betay or y := alpha*AHx + betay

[Android.Runtime.Register("ZGBMV", "(IIILandroid/renderscript/Double2;Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;ILandroid/renderscript/Double2;Landroid/renderscript/Allocation;I)V", "", ApiSince=23)]
public void ZGBMV (int TransA, int KL, int KU, Android.Renderscripts.Double2? alpha, Android.Renderscripts.Allocation? A, Android.Renderscripts.Allocation? X, int incX, Android.Renderscripts.Double2? beta, Android.Renderscripts.Allocation? Y, int incY);
[<Android.Runtime.Register("ZGBMV", "(IIILandroid/renderscript/Double2;Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;ILandroid/renderscript/Double2;Landroid/renderscript/Allocation;I)V", "", ApiSince=23)>]
member this.ZGBMV : int * int * int * Android.Renderscripts.Double2 * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * int * Android.Renderscripts.Double2 * 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
Double2

The scalar alpha.

A
Allocation

The input allocation contains the band matrix A, supported elements type Element#F64_2.

X
Allocation

The input allocation contains vector x, supported elements type Element#F64_2.

incX
Int32

The increment for the elements of vector x, must be larger than zero.

beta
Double2

The scalar beta.

Y
Allocation

The input allocation contains vector y, supported elements type Element#F64_2.

incY
Int32

The increment for the elements of vector y, must be larger than zero.

Attributes

Remarks

ZGBMV performs one of the matrix-vector operations y := alpha*A*x + beta*y or y := alpha*A**T*x + beta*y or y := alpha*A**H*x + beta*y

Details: http://www.netlib.org/lapack/explore-html/d9/d46/zgbmv_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]

Java documentation for android.renderscript.ScriptIntrinsicBLAS.ZGBMV(int, int, int, android.renderscript.Double2, android.renderscript.Allocation, android.renderscript.Allocation, int, android.renderscript.Double2, android.renderscript.Allocation, int).

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.

Applies to