MB_DNRM2 – Euclidean norm of a vector
Block SymbolLicensing group: STANDARD
Function Description
The output reference yX is always set to the input reference uX. If HLD = on then nothing is
computed otherwise the BLAS function DNRM2 is called internally:
value = DNRM2(N, uX, INCX);
where the values N and INCX 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 CNT referenced by uX.
- If the input incx > 0 then INCX is set to incx else INCX is set to 1.
The error flag E is set to on if:
- the reference uX is not defined (i.e. input uX is not connected),
- n < 0 or incx < 0,
- .
See BLAS documentation [9] for more details.
Use the block ML_DLANGE for computation of various norms of a matrix.
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 |
n | Number of processed vector elements | Long (I32) |
incx | Index increment of vector x | Long (I32) |
HLD | Hold | Bool |
Output
yX | Output reference to vector x | Reference |
value | Return value of the function | Double (F64) |
E | Error indicator | Bool |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com