Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.8K Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:

Long, nested matrix product with coefficients

Posted 12 years ago

Hello, The following is an example of what I need:

given four numbers: a,b,c,d, and four matrices A,B,C,D, I would like the following input:

(a*A+b*B).(c*C+d*D)

to produce the following output:

a*c A.C + a*d A.D + b*c B.C + b*d B.D

instead I can only get it like this (using the 'Distribute' function):

(a A).(c C) + (a A).(d D) + (b B).(c C) + (b B).(d D)

Any ideas? Thank you very much in advance!

POSTED BY: Bryan Zaldivar
Posted 12 years ago
POSTED BY: Bill Simpson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard