MX_FILL – Fill real matrix or vector

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio uMV value mode HLD yMV E MX_FILL

Function Description
The function block MX_FILL fills elements of the matrix or vector referenced by uMV according to the input mode.

The output reference yMV is always set to the corresponding input references uMV.

By setting HLD = on the function of the block is stopped, but the references are passed further. The error flag E is set to on, if:

  • the reference uMV is not defined (i.e. input uMV is not connected),
  • 0 > mode > 4.

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

Input

uMV

Input reference to a matrix or vector

Reference

value

Fill value of matrix/vector

Double (F64)

mode

Fill mode

Long (I32)

0 ....

Value

1 ....

Value

2 ....

Ones

3 ....

Diagonal value

4 ....

Diagonal ones

HLD

Hold

Bool

Output

yMV

Output reference to a matrix or vector

Reference

E

Error indicator

Bool

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