hughesadam_87 54 Junior Poster

Hey everyone.

I have a matrix of matricies. Basically, I have a 3 dimensional matrix object which stores i 2-d arrays. For example:

M=(i,j,k)
A= M[1,:,:] = (j, k)
B= M[2, :, :] = (j', k')
etc..

Now, what is want to do is actually do the entire product (A*B*C...); however, I don't really have a good way to store these variables dynamically. For example, if in one run I have 8 2-d arrays, and in the next run I have 6 2-d arrays, I have no idea how to dynamically change a product from an 8-element product to a 6-element product.

Let me know if I've made my problem clear.