Partager via


ScriptIntrinsicBLAS.CTBSV Method

Definition

CTBSV solves one of the systems of equations Ax = b or A**Tx = b or A**H*x = b

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

Parameters

Uplo
Int32

Specifies whether the matrix is an upper or lower triangular matrix.

TransA
Int32

The type of transpose applied to matrix A.

Diag
Int32

Specifies whether or not A is unit triangular.

K
Int32

The number of off-diagonals of the matrix A

A
Allocation

The input allocation contains matrix A, supported elements type Element#F32_2.

X
Allocation

The input allocation contains vector x, supported elements type Element#F32_2.

incX
Int32

The increment for the elements of vector x, must be larger than zero.

Attributes

Remarks

CTBSV solves one of the systems of equations A*x = b or A**T*x = b or A**H*x = b

Details: http://www.netlib.org/lapack/explore-html/d9/d5f/ctbsv_8f.html

Note: For a N*N matrix, the input Allocation should also be of size N*N (dimY = N, dimX = N), but only the region N*(K+1) will be referenced. The following subroutine can is an example showing how to convert a UPPER trianglar matrix 'a' to row-based band matrix '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 for android.renderscript.ScriptIntrinsicBLAS.CTBSV(int, int, int, int, android.renderscript.Allocation, android.renderscript.Allocation, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to