MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Matrix Multiplication (with a twist)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68951] Matrix Multiplication (with a twist)
  • From: Bruce Colletti <vze269bv at verizon.net>
  • Date: Fri, 25 Aug 2006 05:35:03 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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


  • Prev by Date: Re: List Help Needed
  • Next by Date: Re: Trigonometric simplification
  • Previous by thread: Re: Why polynomial Can't output as Number?
  • Next by thread: Re: Matrix Multiplication (with a twist)