To Whom it May Concern:
I have a 3D array, P, with dimension P:=array(1..6,1..6,1..5). I would like to extract each 2D array from the 3D array and declare them as matrices. Additionally, I would like to store the sequence of matrices is a 1D array. I tried the following, but it did not work:
for l to 5 do: for i to 6 do: for j to 6 do: L[i,j] := P[i,j,l]: od: od: V[l]:=L: od:
The code fails in that V=V=...v = P[i,j,5].
Is there a way to overcome this?
Also, given a matrix, is there a way to extract a column vector from that matrix? I.e. in FORTAN is M is a matrix, M(:,3) would return the third column of M. Is there a similar command in Maple?