MX_DIMSET – Set Matrix/Vector dimensions
Block SymbolLicensing group: STANDARD
Function Description
The function block MX_DIMSET sets number rows m of the vector or number of number of rows m
and the leading dimension ld of the matrix referenced by uMV. Outputs of the block shows the
other matrix/vector dimensions – number of columns n and count of allocated elements
cnt.
The output reference yMV is always set to the corresponding input reference uMV.
The error flag E is set to on if:
- the reference uMV is not defined (i.e. input uMV is not connected),
- the number of rows or ,
- the leading dimension .
Inputs
uMV | Input reference to a matrix or vector | reference |
m | Number of matrix rows | long |
ld | Leading dimension (>= number of rows) | long |
Outputs
yMV | Output reference to a matrix or vector | reference |
n | Number of matrix columns | long |
cnt | Count of allocated elements (>= number of rows * number of columns | long |
E | Error indicator | bool |
[Previous] [Back to top] [Up] [Next]
2019 © REX Controls s.r.o., www.rexygen.com