MB_DSWAP – Interchanges two vectors

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 DSWAP is called internally:

DSWAP(N, 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 [6] for more details.

Inputs

uX

Input reference to vector x

reference

uY

Input reference to vector y

reference

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