次の方法で共有


ScriptIntrinsicBLAS.DTPSV Method

Definition

DTPSV solves one of the systems of equations Ax = b or A**Tx = b

[Android.Runtime.Register("DTPSV", "(IIILandroid/renderscript/Allocation;Landroid/renderscript/Allocation;I)V", "", ApiSince=23)]
public void DTPSV (int Uplo, int TransA, int Diag, Android.Renderscripts.Allocation? Ap, Android.Renderscripts.Allocation? X, int incX);
[<Android.Runtime.Register("DTPSV", "(IIILandroid/renderscript/Allocation;Landroid/renderscript/Allocation;I)V", "", ApiSince=23)>]
member this.DTPSV : 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.

Ap
Allocation

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

X
Allocation

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

incX
Int32

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

Attributes

Remarks

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

Details: http://www.netlib.org/lapack/explore-html/d9/d84/dtpsv_8f.html

Note: For a N*N matrix, the input Allocation should be a 1D allocation of size dimX = N*(N+1)/2, The following subroutine can is an example showing how to convert a UPPER trianglar matrix 'a' to packed matrix 'b'. k = 0 for i in range(0, n): for j in range(i, n): b[k++] = a[i, j]

Java documentation for android.renderscript.ScriptIntrinsicBLAS.DTPSV(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