MB_DROT – Plain rotation of a vector

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

DROT(N, uX, INCX, uY, INCY, c, s);

where parameters of DROT 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

c

Scalar coefficient c

double

s

Scalar coefficient s

double

HLD

Hold

bool

Outputs

yX

Output reference to vector x

reference

yY

Output reference to vector y

reference

E

Error indicator

bool