MB_DROT – Plain rotation of a vector
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 DROT is called
internally:
DROT(N, uX, INCX, uY, INCY, c, s);
where parameters of DROT are set in the following way:
- If the input n > 0 then N is set to n else N is set to the current number of the vector or matrix elements CNTX referenced by uX.
- 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 uX or uY is not defined (i.e. input uX or uY is not connected),
- n < 0,
- ,
- , where CNTY is a number of the vector or matrix elements referenced by uY.
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
uX | Input reference to vector x | Reference |
uY | Input reference to vector y | Reference |
n | Number of processed vector elements | Long (I32) |
incx | Index increment of vector x | Long (I32) |
incy | Index increment of vector y | Long (I32) |
c | Scalar coefficient c | Double (F64) |
s | Scalar coefficient s | Double (F64) |
HLD | Hold | Bool |
Output
yX | Output reference to vector x | Reference |
yY | Output reference to vector y | Reference |
E | Error indicator | Bool |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com