Message Boards Message Boards

0
|
5041 Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Command for successive matrix product

Posted 10 years ago

Hello,

I am seeking the command for successive matrix multiplications like M(i=N).M(i=N-1). ..... M(2).M(1) (M is matrix), which is similar to 'Product' command for just numbers. I think it is a simple command, but I cannot find it in the help browser. Is there somebody who knows the command ? Thank you in advance.

Have a good day!

POSTED BY: hwoarang Polar
4 Replies
In[11]:= Dot @@ {m1, m2, m3}

Out[11]= m1.m2.m3
POSTED BY: Frank Kampas
Posted 10 years ago

Thank you for the reply.

But I mean that what if the number of matrix (N) is variable, not fixed. Is there any matrix version of 'Product' command ?

POSTED BY: hwoarang Polar

Dot

In[9]:= Dot[{{a, b}, {c, d}}, {{e, f}, {g, h}}, {{i, j}, {k, l}}]

Out[9]= {{(a e + b g) i + (a f + b h) k, (a e + b g) j + (a f + 
      b h) l}, {(c e + d g) i + (c f + d h) k, (c e + d g) j + (c f + 
      d h) l}}
POSTED BY: Frank Kampas

If a, b and c are matrices, of the form {{x...},{y...},...}, matrix products are given simply by

a.b.c
POSTED BY: S M Blinder
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract