Symbolic Matrices

*To*: mathgroup at christensen.cybernetics.net*Subject*: [mg216] Symbolic Matrices*From*: Guy Shaviv <guy at arshaviv.technion.ac.il>*Date*: Wed, 23 Nov 1994 08:43:35 +48000

Greetings all, I'm looking for a way to do symbolic matrix algebra, that is to state a symbol is a matrix of some dimension and have mathematica treat it as such, i.e. resolve products, sums, products with scalars etc. I'll give an example to what I mean, suppose A is a n by m matrix and B is a m by l matrix than: C = A B should define C as a n by l matrix and: C = A + B should return an error message concerning inappropriate dimensions. Further if m11,m12,m21,m22, q11,q12,q21,q22 are all matrices with appropriate dimensions and: m := {{m11,m12},{m21,m22}} q := {{q11,q12},{q21,q22}} than m q should produce the correct result (different from q m). Is there any way to do that, or any package that can help me? Guy