ScriptIntrinsicBLAS.CTBSV 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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,支援元素類型 Element#F32_2為 。
輸入配置包含向量 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'。 當 i 在範圍(0, n)中:對於 j 在範圍內(i, min(i+k+1, n)): b[i, j-i] = a[i, j]
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。