LinearAlgebra`BLAS`
LinearAlgebra`BLAS`

GER

GER[α,x,y,a]

computes the rank-one update a+αOuter[Times,x,y] and resets a to the result.

Details

  • To use GER, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
  • The following arguments must be given:
  • αinput expressionscalar mutliple
    xinput expressionvector
    yinput expressionvector
    a
  • input/output symbol
  • matrix; the symbol value is modified in place
  • 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

Apply a rank-one update to a matrix:

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

Scope  (4)

Properties & Relations  (1)

Possible Issues  (2)