ScriptIntrinsicBLAS.ZHBMV Method

Definition

ZHBMV performs the matrix-vector operation y := alphaAx + beta*y

[Android.Runtime.Register("ZHBMV", "(IILandroid/renderscript/Double2;Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;ILandroid/renderscript/Double2;Landroid/renderscript/Allocation;I)V", "", ApiSince=23)]
public void ZHBMV (int Uplo, int K, 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("ZHBMV", "(IILandroid/renderscript/Double2;Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;ILandroid/renderscript/Double2;Landroid/renderscript/Allocation;I)V", "", ApiSince=23)>]
member this.ZHBMV : int * int * Android.Renderscripts.Double2 * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * int * Android.Renderscripts.Double2 * Android.Renderscripts.Allocation * int -> unit

Parameters

Uplo
Int32

Specifies whether the upper or lower triangular part of the band matrix A is being supplied.

K
Int32

The number of off-diagonals of the matrix A

alpha
Double2

The scalar alpha.

A
Allocation

The input allocation contains 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

ZHBMV performs the matrix-vector operation y := alpha*A*x + beta*y

Details: http://www.netlib.org/lapack/explore-html/d3/d1a/zhbmv_8f.html

Note: For a N*N matrix, the input Allocation should also be of size N*N (dimY = N, dimX = N), but only the region N*(K+1) will be referenced. The following subroutine can is an example showing how to convert a UPPER trianglar matrix 'a' to row-based band matrix 'b'. for i in range(0, n): for j in range(i, min(i+k+1, n)): b[i, j-i] = a[i, j]

Java documentation for android.renderscript.ScriptIntrinsicBLAS.ZHBMV(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