語言

ScriptIntrinsicBLAS.SGEMV 方法

定義

SGEMV 執行矩陣向量運算之一 y := alphaAx + betay 或 y := alphaA**Tx + betay

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

參數

TransA
Int32

應用於矩陣 A 的移調類型。

alpha
Single

標量的阿爾法。

A
Allocation

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

X
Allocation

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

incX
Int32

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

beta
Single

標量貝塔。

Y
Allocation

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

incY
Int32

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

屬性

備註

SGEMV 執行矩陣向量運算之一 y := alpha*A*x + beta*y 或 y := alpha*A**T*x + beta*y

詳細資訊:http://www.netlib.org/lapack/explore-html/db/d58/sgemv_8f.html

Java 文件 android.renderscript.ScriptIntrinsicBLAS.SGEMV(int, float, android.renderscript.Allocation, android.renderscript.Allocation, int, float, android.renderscript.Allocation, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於