- #1
jeffreydk
- 135
- 0
I am trying to compute the following,
[tex]\prod_{j=0}^{N-1}\left[\hat{I}+\hat{M(j)}\left(\frac{T}{N}\right)\right][/tex]
where [itex]\hat{I}, \hat{M(j)}[/itex] are matrices. My problem is that Mathematica interprets this product as element-wise with respect to the matrices, but I of course want it to use matrix multiplication. Is there any simple way to do this or do I need to write a code using some kind of do-loop?
Thanks for any help, I appreciate it.
[tex]\prod_{j=0}^{N-1}\left[\hat{I}+\hat{M(j)}\left(\frac{T}{N}\right)\right][/tex]
where [itex]\hat{I}, \hat{M(j)}[/itex] are matrices. My problem is that Mathematica interprets this product as element-wise with respect to the matrices, but I of course want it to use matrix multiplication. Is there any simple way to do this or do I need to write a code using some kind of do-loop?
Thanks for any help, I appreciate it.