This framework supports operations on two-dimensional matrices of floating-point values. The framework comprises the following elements:
-
The
MATRIX
data type; -
M_ADD, M_SUB, M_MUL,
andM_INV
function block types for performing mathematical operations on matrices; -
an
M_OPS
function block type for initializing and performing operations on a matrix; -
an
M_OP
data type enumerating the operations that can be performed by anM_OPS
instance; and -
IN_MATRIX
andOUT_MATRIX
function block types for tabular input and output, respectively.
Examples of the use of these function block types are given in the
MATRIX_DEMO, M_OPS_DEMO
and CODEC_TEST2
system configurations.