MB_DAXPY – Performs y := a*x + y for vectors x,y

Block SymbolLicensing group: STANDARD
PIC

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:

The error flag E is set to on if:

See BLAS documentation [7] for more details.

Inputs

uX

Input reference to vector x

reference

uY

Input reference to vector y

reference

a

Scalar coefficient a

double

n

Number of processed vector elements

long

incx

Index increment of vector x

long

incy

Index increment of vector y

long

HLD

Hold

bool

Outputs

yX

Output reference to vector x

reference

yY

Output reference to vector y

reference

E

Error indicator

bool