前所未有的详细总结 BLAS (零)

前所未有的详细总结 BLAS (零)

一、BLAS例程的命名约定(Naming Conventions for BLAS Routines)

0. BLAS例程名称具有以下结构:

<数据类型><名字><操作>

1. 数据类型(指示数据类型)

s:单精度浮点实数(real and single precision);通常为float数据类型。

d:双精度浮点实数(real and double precision);通常为double数据类型。

c:单精度浮点复数(complex and single precision)。

z:双精度浮点复数(complex and double precision)。

2.名字(反映矩阵参数类型)

(1) ge:general matrix(通用矩阵)

(2) gb:general band matrix(通用带状矩阵)

(3) sy:symmetric matrix(对称矩阵)

(4) sp:symmetric matrix (packed storage)

(5) sb:symmetric band matrix(对称带状矩阵)

(6) he:Hermitian matrix(厄米特矩阵=自共轭矩阵)
厄米特矩阵(Hermitian Matrix,又译作“埃尔米特矩阵”或“厄米矩阵”),指的是自共轭矩阵。矩阵中每一个第 i i i 行第j列的元素都与第 j j j 行第 i i i 列的元素的共轭相等。埃尔米特矩阵主对角线上的元素都是实数的,其特征值也是实数。

(7) hp:Hermitian matrix (packed storage)

(8) hb:Hermitian band matrix(厄米特带状矩阵=自共轭带状矩阵)

(9) tr: triangular matrix(三角矩阵)

(10)tp:triangular matrix (packed storage)

(11)tb:triangular band matrix(三角带状矩阵)

3.操作(反映详细的操作信息)

Blas 级别操作解释
Level 1cconjugated vector
uunconjugated vector
gGivens rotation construction
mmodified Givens rotation
mgmodified Givens rotation construction
Level 2mvmatrix-vector product
svsolving a system of linear equations with a single unknown vector
rrank-1 update of a matrix
r2rank-2 update of a matrix
Level 3mmmatrix-matrix product
smsolving a system of linear equations with multiple unknown vectors
rkrank-k update of a matrix
r2krank-2k update of a matrix
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值