Langue

ScriptIntrinsicBLAS.DSBMV Méthode

Définition

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

[Android.Runtime.Register("DSBMV", "(IIDLandroid/renderscript/Allocation;Landroid/renderscript/Allocation;IDLandroid/renderscript/Allocation;I)V", "", ApiSince=23)]
public void DSBMV(int Uplo, int K, double alpha, Android.Renderscripts.Allocation? A, Android.Renderscripts.Allocation? X, int incX, double beta, Android.Renderscripts.Allocation? Y, int incY);
[<Android.Runtime.Register("DSBMV", "(IIDLandroid/renderscript/Allocation;Landroid/renderscript/Allocation;IDLandroid/renderscript/Allocation;I)V", "", ApiSince=23)>]
member this.DSBMV : int * 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 de bande A est fournie.

K
Int32

Nombre de diagonales hors diagonale de la matrice A

alpha
Double

Alpha scalaire.

A
Allocation

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

X
Allocation

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.

Y
Allocation

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

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

Détails : http://www.netlib.org/lapack/explore-html/d8/d1e/dsbmv_8f.html

Remarque : Pour une matrice N*N, l’allocation d’entrée doit également être de taille N*N (dimY = N, dimX = N), mais seule la région N*(K+1) sera référencée. La sous-routine suivante peut être un exemple montrant comment convertir une matrice trianglar SUPÉRIEURE 'a' en matrice de bande basée sur des lignes '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 pour android.renderscript.ScriptIntrinsicBLAS.DSBMV(int, int, double, android.renderscript.Allocation, android.renderscript.Allocation, int, double, android.renderscript.Allocation, int).

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.

S’applique à