MB_DAXPY – Performs y := a*x + y for vectors x,y
Block SymbolLicensing group: STANDARD
Function Description
The output references yX and yY are always set to the corresponding input references uX and
uY. If HLD = on then nothing is computed otherwise the BLAS function DAXPY is called
internally:
DAXPY(N, a, uX, INCX, uY, INCY);
where the values N, INCX and INCY are set in the following way:
- If the input then N is set to n else N is set to the current number of the vector or matrix elements CNTY referenced by uY.
- If the input then INCX is set to incx else INCX is set to .
- If the input then INCY is set to incy else INCY is set to .
The error flag E is set to on if:
- the reference uX or uY is not defined (i.e. input uX or uY is not connected),
- ,
- , where CNTX is a number of the vector or matrix elements referenced by uX,
- .
See BLAS documentation [6] for more details.
Inputs
uX | Input reference to vector x | Reference |
uY | Input reference to vector y | Reference |
a | Scalar coefficient a | Double (F64) |
n | Number of processed vector elements 0.00E+00 | Long(I32) |
incx | Index increment of vector x | Long (I32) |
incy | Index increment of vector y | Long (I32) |
HLD | Hold | Bool |
Outputs
yX | Output reference to vector x | Reference |
yY | Output reference to vector y | Reference |
E | Error indicator | Bool |
[Previous] [Back to top] [Up] [Next]
2020 © REX Controls s.r.o., www.rexygen.com