Download REDUCE User`s Manual - REDUCE Computer Algebra System
Transcript
Chapter 13 Matrix Calculations A very powerful feature of REDUCE is the ease with which matrix calculations can be performed. To extend our syntax to this class of calculations we need to add another prefix operator, MAT, and a further variable and expression type as follows: 13.1 MAT Operator This prefix operator is used to represent n × 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 a b c d e f ! would be written as mat((a,b,c),(d,e,f)). Note that the single column matrix x y ! becomes mat((x),(y)). The inside parentheses are required to distinguish it from the single row matrix x y that would be written as mat((x,y)). 141