LinearAlgebra`BLAS`
LinearAlgebra`BLAS`

GERC

GERC[α,x,y,a]

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

Details

  • To use GERC, 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 all close all

Basic Examples  (1)

Load the BLAS package:

In[1]:=
Click for copyable input

Apply rank-one update to a matrix:

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

Scope  (4)

Properties & Relations  (1)

Possible Issues  (2)