ScriptIntrinsicBLAS.SSPR(Int32, Single, Allocation, Int32, Allocation) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
SSPR 執行階級 1 的運算 A := alphaxx**T + A
[Android.Runtime.Register("SSPR", "(IFLandroid/renderscript/Allocation;ILandroid/renderscript/Allocation;)V", "", ApiSince=23)]
public void SSPR(int Uplo, float alpha, Android.Renderscripts.Allocation? X, int incX, Android.Renderscripts.Allocation? Ap);
[<Android.Runtime.Register("SSPR", "(IFLandroid/renderscript/Allocation;ILandroid/renderscript/Allocation;)V", "", ApiSince=23)>]
member this.SSPR : int * single * Android.Renderscripts.Allocation * int * Android.Renderscripts.Allocation -> unit
參數
- Uplo
- Int32
規定上三角件或下三角件應以包裝形式供應。
- alpha
- Single
標量的阿爾法。
輸入配置包含向量 x,支援元素類型 Element#F32。
- incX
- Int32
向量 x 元素的增量必須大於零。
- Ap
- Allocation
輸入配置包含矩陣 A,支援元素類型 Element#F32為 。
- 屬性
備註
SSPR 執行階級 1 運算 A := alpha*x*x**T + A
詳細資訊:http://www.netlib.org/lapack/explore-html/d2/d9b/sspr_8f.html
注意:對於 N*N 矩陣,輸入配置應為大小為 dimX = N*(N+1)/2 的一維配置。以下子程式示範如何將 UPPER 三角矩陣 'a' 轉換為填充矩陣 'b'。 k = 0,i在range(0, n)中;對於J在range(i, n): b[k++] = a[i, j]
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。