Re: Symbolic matrix algebra

*To*: mathgroup at smc.vnet.net*Subject*: [mg45460] Re: Symbolic matrix algebra*From*: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>*Date*: Fri, 9 Jan 2004 05:20:28 -0500 (EST)*Organization*: Universitaet Leipzig*References*: <bti1i1$a6p$1@smc.vnet.net>*Reply-to*: kuska at informatik.uni-leipzig.de*Sender*: owner-wri-mathgroup at wolfram.com

Hi, you must programm it by your own, because mathematica can not know that in (A+B)^2 A and B are matrices and you mean (A+B).(A+B) and *not* (A+B)*(A+B) and Dot[] behave quite different than Times[] for matrices. Regards Jens "mike.james" wrote: > > This is a very silly question and I have checked the archives for anything > relevant - I must just be searching on the wrong keywords. > > All I want to do is some simple matrix algebra. > I want to type in (A+B)^2 and have it expanded taking account of the fact > that A and B are matrices. > I want to use transpose, inverse and apply conditions such as the matrix is > symmetric etc? > I've tried non-commutive multiply and a few other tricks. > I can see that I could write a package but surely there must be one or a > built in solution I'm missing? > mikej