Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.2K Views
|
4 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Is there a built-in function for matrices product?

Posted 3 years ago

I understand that the Product enter image description here

is by default interpreted as the Product of function.

However, I need to use a similar function, but for matrices, and I wonder if Mathematica has something like that.
I know that I can make some programming code to achieve this, however, I prefer something like the Product function applied to matrices. (I have the index 'i' within the matrix) Many thanks for any help,
Domingo

4 Replies

Thanks, However, two lines of programming code are similar to or even simpler than using Table[]. Actually, I was looking for something indexed like Product Π. Anyway, many thanks for your help. Regards

Posted 3 years ago

I'm not aware of one that is indexed like Product, but you can build the list of matrices easily with Table:

test = Table[{{x, a, x + i}, {a, b, a}, {b, a, a}}, {i, 1, 3}]

Dot and Times both take an arbitrarily long list of arguments:

Dot @@ test

or

Times @@ test
POSTED BY: Eric Rimbey

Thanks for your help. Regards,

enter image description here

Posted 3 years ago

I am probably misunderstanding, but there is a form of product that takes multiple iterators:

Product[f, {i, 1, 3}, {j, 1, 3}]

If that's not what you're looking for, can you clarify your question? Maybe provide an example?

POSTED BY: Eric Rimbey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard