ScriptIntrinsicBLAS.DSPMV Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
DSPMV effectue l’opération matrice-vector y := alphaAx + beta*y
[Android.Runtime.Register("DSPMV", "(IDLandroid/renderscript/Allocation;Landroid/renderscript/Allocation;IDLandroid/renderscript/Allocation;I)V", "", ApiSince=23)]
public void DSPMV(int Uplo, double alpha, Android.Renderscripts.Allocation? Ap, Android.Renderscripts.Allocation? X, int incX, double beta, Android.Renderscripts.Allocation? Y, int incY);
[<Android.Runtime.Register("DSPMV", "(IDLandroid/renderscript/Allocation;Landroid/renderscript/Allocation;IDLandroid/renderscript/Allocation;I)V", "", ApiSince=23)>]
member this.DSPMV : int * double * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * int * double * 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
- Double
Alpha scalaire.
- Ap
- Allocation
L’allocation d’entrée contient la matrice A, type Element#F64d’éléments pris en charge.
L’allocation d’entrée contient le vecteur x, le type Element#F64d’éléments pris en charge.
- incX
- Int32
L’incrément pour les éléments du vecteur x doit être supérieur à zéro.
- beta
- Double
Bêta scalaire.
L’allocation d’entrée contient le vecteur y, le type Element#F64d’é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
DSPMV effectue l’opération matrice-vector y := alpha*A*x + beta*y
Détails : http://www.netlib.org/lapack/explore-html/d4/d85/dspmv_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]
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.