語言

ScriptIntrinsicBLAS.ZHPR2 方法

定義

ZHPR2 執行對稱秩 2 運算 A := alphaxyH + alphayxH + A

[Android.Runtime.Register("ZHPR2", "(ILandroid/renderscript/Double2;Landroid/renderscript/Allocation;ILandroid/renderscript/Allocation;ILandroid/renderscript/Allocation;)V", "", ApiSince=23)]
public void ZHPR2(int Uplo, Android.Renderscripts.Double2? alpha, Android.Renderscripts.Allocation? X, int incX, Android.Renderscripts.Allocation? Y, int incY, Android.Renderscripts.Allocation? Ap);
[<Android.Runtime.Register("ZHPR2", "(ILandroid/renderscript/Double2;Landroid/renderscript/Allocation;ILandroid/renderscript/Allocation;ILandroid/renderscript/Allocation;)V", "", ApiSince=23)>]
member this.ZHPR2 : int * Android.Renderscripts.Double2 * Android.Renderscripts.Allocation * int * Android.Renderscripts.Allocation * int * Android.Renderscripts.Allocation -> unit

參數

Uplo
Int32

規定上三角件或下三角件應以包裝形式供應。

alpha
Double2

標量的阿爾法。

X
Allocation

輸入配置包含向量 x,支援元素類型 Element#F64_2。

incX
Int32

向量 x 元素的增量必須大於零。

Y
Allocation

輸入配置包含向量 y,支援元素類型 Element#F64_2。

incY
Int32

向量 y 元素的增量必須大於零。

Ap
Allocation

輸入配置包含矩陣 A,支援元素類型 Element#F64_2為 。

屬性

備註

ZHPR2 執行對稱秩 2 運算 A := alpha*x*y**H + alpha*y*x**H + A

詳細資訊:http://www.netlib.org/lapack/explore-html/d5/d52/zhpr2_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]

的 android.renderscript.ScriptIntrinsicBLAS.ZHPR2(int, android.renderscript.Double2, android.renderscript.Allocation, int, android.renderscript.Allocation, int, android.renderscript.Allocation)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於