LinearAlgebra`BLAS`
LinearAlgebra`BLAS`

SYMV

SYMV[ul,α,a,x,β,y]

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

Details

  • To use SYMV, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
  • The following arguments must be given:
  • ulinput stringupper/lower triangular string
    αinput expressionscalar mutliple
    ainput expressionsquare symmetric matrix
    xinput expressionvector
    βinput expressionscalar multiple
    yinput/output symbolvector; the symbol value is modified in place
  • The matrix is assumed symmetric, and only the upper or lower triangular part of a is used.
  • The upper/lower triangular string ul may be specified as:
  • "U"the upper triangular part of a is to be used
    "L"the lower triangular part of a is to be used
  • Dimensions of the matrix and vector arguments must be such that the dot product and addition are well defined.

Examples

open all close all

Basic Examples  (1)

Load the BLAS package:

In[1]:=
Click for copyable input

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

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

Scope  (4)

Properties & Relations  (3)

Possible Issues  (2)