LinearAlgebra`BLAS`
LinearAlgebra`BLAS`

GEMV

GEMV[ts,α,a,x,β,y]

computes the matrix-vector multiplication α opts[a].x +β y and resets y to the result.

Details

  • To use GEMV, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
  • The following arguments must be given:
  • tsinput stringtransposition string
    αinput expressionscalar mutliple
    ainput expressionrectangular matrix
    xinput expressionvector
    βinput expressionscalar multiple
    yinput/output symbolvector; the symbol value is modified in place
  • The transposition string ts describes the operator opts and may be specified as:
  • "N"no transposition
    "T"transpose
    "C"conjugate transpose
  • Dimensions of the matrix and vector arguments must be such that the dot product and addition are well defined.

Examples

open allclose all

Basic Examples  (1)

Load the BLAS package:

In[1]:=
Click for copyable input

Compute a.x+2 y and save it in y:

In[2]:=
Click for copyable input
Out[2]=

Scope  (4)

Properties & Relations  (3)

Possible Issues  (2)