Partager via


ScriptIntrinsicBLAS.ZTBMV Méthode

Définition

ZTBMV effectue l’une des opérations de vecteur de matrice x := Ax ou x := A**Tx ou x := A**H*x

[Android.Runtime.Register("ZTBMV", "(IIIILandroid/renderscript/Allocation;Landroid/renderscript/Allocation;I)V", "", ApiSince=23)]
public void ZTBMV (int Uplo, int TransA, int Diag, int K, Android.Renderscripts.Allocation? A, Android.Renderscripts.Allocation? X, int incX);
[<Android.Runtime.Register("ZTBMV", "(IIIILandroid/renderscript/Allocation;Landroid/renderscript/Allocation;I)V", "", ApiSince=23)>]
member this.ZTBMV : int * int * int * int * Android.Renderscripts.Allocation * Android.Renderscripts.Allocation * int -> unit

Paramètres

Uplo
Int32

Spécifie si la matrice est une matrice triangulaire supérieure ou inférieure.

TransA
Int32

Type de transposer appliqué à la matrice A.

Diag
Int32

Spécifie si A est ou non une unité triangulaire.

K
Int32

Nombre de diagonales hors diagonale de la matrice A

A
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.

Attributs

Remarques

ZTBMV effectue l’une des opérations de vecteur de matrice x := A*x ou x := A**T*x ou x := A**H*x

Détails : http://www.netlib.org/lapack/explore-html/d3/d39/ztbmv_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]

Documentation Java pour android.renderscript.ScriptIntrinsicBLAS.ZTBMV(int, int, int, int, android.renderscript.Allocation, 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 à