ScriptIntrinsicBLAS.SSPMV メソッド

定義

SSPMV は行列ベクトル演算 y := αAx + β*y を実行します。

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

パラメーター

Uplo
Int32

マトリックス A の上または下の三角形部分をパック形式で指定するかどうかを指定します。

alpha
Single

スカラー アルファ。

Ap
Allocation

入力割り当てには、 Element#F32サポートされている要素の種類であるマトリックス A が含まれます。

X
Allocation

入力の割り当てには、サポートされている要素の型であるベクター x Element#F32が含まれます。

incX
Int32

ベクトル x の要素の増分は、0 より大きくする必要があります。

beta
Single

スカラー ベータ。

Y
Allocation

入力の割り当てには、サポートされているベクター y の要素型 Element#F32が含まれます。

incY
Int32

ベクトル y の要素の増分は、0 より大きくする必要があります。

属性

注釈

SSPMV は行列ベクトル演算 y := alpha*A*x + beta*y を実行します

詳細: http://www.netlib.org/lapack/explore-html/d8/d68/sspmv_8f.html

注: N*N 行列の場合、入力割り当てはサイズ dimX = N*(N+1)/2 の 1D 割り当てである必要があります。次のサブルーチンは、UPPER 三角行列 'a' をパックされた行列 'b' に変換する方法を示す例です。 k = 0 for i in range(0, n): for j in range(i, n): b[k++] = a[i, j]

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象