0
|
4697 Views
|
4 Replies
|
0 Total Likes
View groups...
Share
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!
4 Replies
Sort By:
Posted 10 years ago
 In[11]:= Dot @@ {m1, m2, m3} Out[11]= m1.m2.m3 
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 10 years ago
 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 10 years ago
 If a, b and c are matrices, of the form {{x...},{y...},...}, matrix products are given simply by a.b.c