ScriptIntrinsicBLAS.ZGBMV Método

Definição

ZGBMV executa uma das operações de vetor de matriz y := alfaAx + betay ou y := alfaATx + betay ou y := alfa*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

Parâmetros

TransA
Int32

O tipo de transposição aplicado à matriz A.

KL
Int32

O número de subgonais da matriz A.

KU
Int32

O número de supergonais da matriz A.

alpha
Double2

O alfa escalar.

A
Allocation

A alocação de entrada contém a matriz de banda A, tipo Element#F64_2de elementos com suporte.

X
Allocation

A alocação de entrada contém vetor x, tipo Element#F64_2de elementos com suporte.

incX
Int32

O incremento para os elementos do vetor x deve ser maior que zero.

beta
Double2

O beta escalar.

Y
Allocation

A alocação de entrada contém vetor y, tipo Element#F64_2de elementos com suporte.

incY
Int32

O incremento para os elementos do vetor y deve ser maior que zero.

Atributos

Comentários

O ZGBMV executa uma das operações de vetor de matriz y := alfa*A*x + beta*y ou y := alfa*A**T*x + beta*y ou y := alfa*A**H*x + beta*y

Detalhes: http://www.netlib.org/lapack/explore-html/d9/d46/zgbmv_8f.html

Observação: para uma matriz M*N, a alocação de entrada também deve ser de tamanho M*N (dimY = M, dimX = N), mas somente a região M*(KL+KU+1) será referenciada. A sub-rotina a seguir pode ser um exemplo mostrando como converter a matriz original 'a' em matriz de banda baseada em linha '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]

Documentação Java para android.renderscript.ScriptIntrinsicBLAS.ZGBMV(int, int, int, android.renderscript.Double2, android.renderscript.Allocation, android.renderscript.Allocation, int, android.renderscript.Double2, android.renderscript.Allocation, int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usadas de acordo com os termos descritos na Licença de Atribuição Creative Commons 2.5.

Aplica-se a