语言

ScriptIntrinsicBLAS.CTBSV 方法

定义

CTBSV 求解公式 Ax = b 或 A**Tx = b 或 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

参数

Uplo
Int32

指定矩阵是上角还是下三角矩阵。

TransA
Int32

应用于矩阵 A 的转置的类型。

Diag
Int32

指定 A 是否为单位三角。

K
Int32

矩阵 A 的对角线数

A
Allocation

输入分配包含矩阵 A,支持的元素类型 Element#F32_2。

X
Allocation

输入分配包含矢量 x,支持的元素类型 Element#F32_2。

incX
Int32

矢量 x 的元素的增量必须大于零。

特性

注解

CTBSV 解决了公式 A*x = b 或 A**T*x = b 或 A**H*x = b 的系统之一

详细信息:http://www.netlib.org/lapack/explore-html/d9/d5f/ctbsv_8f.html

注意:对于 N*N 矩阵,输入分配的大小还应为 N*N(dimY = N,dimX = N),但只会引用区域 N*(K+1)。 以下子例程可以演示如何将 UPPER 三角矩阵“a”转换为基于行的带矩阵“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文档android.renderscript.ScriptIntrinsicBLAS.CTBSV(int, int, int, int, android.renderscript.Allocation, android.renderscript.Allocation, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于