Translating linear algebra operations to FLAME calls

The below operations represent commonly encountered operations that are supported by the Basic Linear Algebra Subprograms (BLAS).

Choose type of operation:

Note: items in red may or may not appear in the formula that you are trying to implement


General operations Vector-vector operations
copy y T := x T or B T := A T
scale x := α x or A := α A
axpy y := α x T + y or B := α A T + B
dot γ := xTy or γ := α xTy + β γ
Matrix-vector operations Matrix-matrix operations
xxmv y := α A T y or y := α A T y + β y
y T := α yT A T or y T := α yT A T + β y T
xxr(2)
A := α x yT + A or A := α ( x yT + y xT ) + A
xxmm B := α A T B T or C := α A T B T + β C
trsm B := α A -T B -T or C := α A -T B -T + β C
xxr(2)k
C := α A T BT T + β C or C := α ( A T B T T + B T A T T ) + β C