MX_DIM – Matrix/Vector dimensions

Block SymbolLicensing group: STANDARD
PIC

Function Description
The function block MX_DIM sets its outputs to the dimensions of the matrix or vector referenced by uMV.

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).

Input

uMV

Input reference to a matrix or vector

Reference

Outputs

yMV

Output reference to a matrix or vector

Reference

m

Number of matrix rows

Long (I32)

n

Number of matrix columns

Long (I32)

ld

Leading dimension (>= number of rows)

Long (I32)

cnt

Count of used matrix/vector elements

Long (I32)

2020 © REX Controls s.r.o., www.rexygen.com