MX_MAT – Matrix data storage block

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio yMat MX_MAT

Function Description
The function block MX_MAT allocates memory (during the block initialization) for m∗n elements of the type determined by the parameter etype of the matrix referenced by the output yMat. Also matrix leading dimension can be set by the parameter ld. If ld < m then the leading dimension is set to m.

This block does not propagate the signal quality. More information can be found in the 1.4 section.

Parameter

m

Number of matrix rows   ↓1  ↑1000000000 ⊙10

Long (I32)

n

Number of matrix columns   ↓1  ↑1000000000 ⊙10

Long (I32)

ld

Leading dimension (>= number of rows)   ↓0  ↑1000000000

Long (I32)

etype

Type of elements  ⊙8

Long (I32)

1 ....

Bool

2 ....

Byte (U8)

3 ....

Short (I16)

4 ....

Long (I32)

5 ....

Word (U16)

6 ....

DWord (U32)

7 ....

Float (F32)

8 ....

Double (F64)

10 ...

Large (I64)

Output

yMat

Output reference to a matrix

Reference

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