Question: Matrix Multiplication error

Hi,

I've been having problems trying to get Maple to multiply matrices together inside of a for loop (well, 3 actually).  In fact it sometimes has the same problem outside of the list, but not always.  I've included the file below: it's a cut down version of the normal page, but it gives the same error.  Note that Maple is fine for multiplying matrices together in the first few cases (defining M, M2, N1, N2), but it breaks down on L - despite the fact that it can do the very same calculation at the bottom of the page without problem.

I'm using Maple 12.0 on my University Network computers, if that helps.

Thanks for any suggestions!

View 11171_Error version.mw on MapleNet or Download 11171_Error version.mw
View file details

Please Wait...