Partager via


ScriptIntrinsicBLAS.ZHPMV Méthode

Définition

ZHPMV effectue l’opération matrice-vector y := alphaAx + beta*y

[Android.Runtime.Register("ZHPMV", "(ILandroid/renderscript/Double2;Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;ILandroid/renderscript/Double2;Landroid/renderscript/Allocation;I)V", "", ApiSince=23)]
public void ZHPMV (int Uplo, Android.Renderscripts.Double2? alpha, Android.Renderscripts.Allocation? Ap, Android.Renderscripts.Allocation? X, int incX, Android.Renderscripts.Double2? beta, Android.Renderscripts.Allocation? Y, int incY);
[<Android.Runtime.Register("ZHPMV", "(ILandroid/renderscript/Double2;Landroid/renderscript/Allocation;Landroid/renderscript/Allocation;ILandroid/renderscript/Double2;Landroid/renderscript/Allocation;I)V", "", ApiSince=23)>]
member this.ZHPMV : int * Android.Renderscripts.Double2 * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * int * Android.Renderscripts.Double2 * Android.Renderscripts.Allocation * int -> unit

Paramètres

Uplo
Int32

Spécifie si la partie triangulaire supérieure ou inférieure de la matrice A est fournie sous forme emballée.

alpha
Double2

Alpha scalaire.

Ap
Allocation

L’allocation d’entrée contient la matrice 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

ZHPMV effectue l’opération matrice-vector y := alpha*A*x + beta*y

Détails : http://www.netlib.org/lapack/explore-html/d0/d60/zhpmv_8f.html

Remarque : Pour une matrice N*N, l’allocation d’entrée doit être une allocation 1D de taille dimX = N*(N+1)/2, la sous-routine suivante peut être un exemple montrant comment convertir une matrice trianglar supérieure 'a' en matrice empaquetée 'b'. k = 0 pour i dans la plage(0, n) : pour j in range(i, n) : b[k++] = a[i, j]

Documentation Java pour android.renderscript.ScriptIntrinsicBLAS.ZHPMV(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 à