Partager via


ScriptIntrinsicBLAS.ZGBMV Méthode

Définition

ZGBMV effectue l’une des opérations de vecteur de matrice y := alphaAx + bêtay ou y := alphaATx + betay ou 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

Paramètres

TransA
Int32

Type de transposer appliqué à la matrice A.

KL
Int32

Nombre de sous-diagonales de la matrice A.

KU
Int32

Nombre de super diagonales de la matrice A.

alpha
Double2

Alpha scalaire.

A
Allocation

L’allocation d’entrée contient la matrice de bande A, type Element#F64_2d’éléments pris en charge.

X
Allocation

L’allocation d’entrée contient le vecteur x, le type Element#F64_2d’éléments pris en charge.

incX
Int32

L’incrément pour les éléments du vecteur x doit être supérieur à zéro.

beta
Double2

Bêta scalaire.

Y
Allocation

L’allocation d’entrée contient le vecteur y, le type Element#F64_2d’éléments pris en charge.

incY
Int32

L’incrément pour les éléments du vecteur y doit être supérieur à zéro.

Attributs

Remarques

ZGBMV effectue l’une des opérations de vecteur de matrice y := alpha*A*x + beta*y ou y := alpha*A**T*x + beta*y ou y := alpha*A**H*x + beta*y

Détails : http://www.netlib.org/lapack/explore-html/d9/d46/zgbmv_8f.html

Remarque : Pour une matrice M*N, l’allocation d’entrée doit également être de taille M*N (dimY = M, dimX = N), mais seule la région M*(KL+KU+1) sera référencée. La sous-routine suivante peut être un exemple montrant comment convertir la matrice d’origine 'a' en matrice de bande basée sur des lignes '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]

Documentation Java pour android.renderscript.ScriptIntrinsicBLAS.ZGBMV(int, int, int, android.renderscript.Double2, android.renderscript.Allocation, android.renderscript.Allocation, int, android.renderscript.Double2, android.renderscript.Allocation, int).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à