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 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 then INCX is set to incx else INCX is set to .
The error flag E is set to on if:
- the reference uX is not defined (i.e. input uX is not connected),
- or ,
- .
See BLAS documentation [6] for more details.
Inputs
uX | Input reference to vector x | reference |
n | Number of processed vector elements | long |
incx | Index increment of vector x | long |
HLD | Hold | bool |
Outputs
yX | Output reference to vector x | reference |
value | Return value of the function | double |
E | Error indicator | bool |
[Previous] [Back to top] [Up] [Next]