REDUCE

14.1 MAT Operator

This prefix operator is used to represent \(n\times m\) matrices. mat has \(n\) arguments interpreted as rows of the matrix, each of which is a list of \(m\) expressions representing elements in that row. For example, the matrix \[ \left ( \begin {array}{lcr} a & b & c \\ d & e & f \end {array} \right ) \] would be written as mat((a,b,c),(d,e,f)).

Note that the single column matrix \[ \left ( \begin {array}{c} x \\ y \end {array} \right ) \] becomes mat((x),(y)). The inside parentheses are required to distinguish it from the single row matrix \[ \left ( \begin {array}{lr} x & y \end {array} \right ) \] that would be written as mat((x,y)).


Hosted by Download REDUCE Powered by MathJax