Re: Matrix Multiplication (with a twist)

*To*: mathgroup at smc.vnet.net*Subject*: [mg68991] Re: Matrix Multiplication (with a twist)*From*: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>*Date*: Sat, 26 Aug 2006 02:04:30 -0400 (EDT)*Organization*: Uni Leipzig*References*: <ecmhcp$9kl$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Hi, Inner[NonCommutativeMultiply, A, B] ?? Regards Jens "Bruce Colletti" <vze269bv at verizon.net> schrieb im Newsbeitrag news:ecmhcp$9kl$1 at smc.vnet.net... | For matrix A = {{e,f},{g,h}} and B = {{a,b},{c,d}}, Mathematica returns their product | | A.B = {{ae+cf,be+df},{ag+ch,bg+dh}} | | However, I want to treat multiplication of numeric variables as noncommutative in order to instead obtain the result | | {{ea+fc, eb+fd},{ga+hc,gb+hd}} | | How would this be done in v5.2? Thanks. | | Bruce |