MB_DGEMV – Performs y := alpha*A*x + beta*y or y := alpha*A^T*x + beta*y

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio uA uX uY trans incx incy alpha beta HLD yA yX yY E MB_DGEMV

Function Description
The output references yA, yX and yY are always set to the corresponding input references uA, uX and uY. If HLD = on then nothing is computed otherwise the BLAS function DGEMV is called internally:

DGEMV(sTRANS, M, N, alpha, uA, LDA, uX, INCX, beta, uY, INCY);

where parameters of DGEMV are set in the following way:

  • Integer input trans is mapped to the string sTRANS: {0,1}"N", {2}"T" and {3}"C".
  • M is number of rows of the matrix referenced by uA.
  • N is number of columns of the matrix referenced by uA.
  • LDA is the leading dimension of matrix referenced by uA.
  • If the input incx 0 then INCX is set to incx else INCX is set to 1.
  • If the input incy 0 then INCY is set to incy else INCY is set to 1.

The error flag E is set to on if:

  • the reference uA or uX or uY is not defined (i.e. input uA or uX or uY is not connected),
  • trans is less than 0 or greater than 3,
  • the call of the function DGEMV returns error using the function XERBLA, see the system log.

See BLAS documentation [9] for more details.

This block does not propagate the signal quality. More information can be found in the 1.4 section.

Input

uA

Input reference to matrix A

Reference

uX

Input reference to vector x

Reference

uY

Input reference to vector y

Reference

trans

Transposition of the input matrix   0  3

Long (I32)

incx

Index increment of vector x

Long (I32)

incy

Index increment of vector y

Long (I32)

alpha

Scalar coefficient alpha

Double (F64)

beta

Scalar coefficient beta

Double (F64)

HLD

Hold

Bool

Output

yA

Output reference to matrix A

Reference

yX

Output reference to vector x

Reference

yY

Output reference to vector y

Reference

E

Error indicator

Bool

2024 © REX Controls s.r.o., www.rexygen.com