I have an very long list of numbers LIST (196) that I wish to turn into a 14x14 Array but using the convert(LIST,Array) only gives me a 1 dimensional array.
In Maple code, this will give me my first column.
j:=1; for i from 1 to 14 do
B[i,j]:=Longlistvalue[i]; end do;
It's clear that my second column comes from t=2 and s from 15 to 24 but I'm struggling to put this into a loop.
Surely there is either a loop I can use for this or a maple command that puts the first 14 into the first row (or column) then the next 14 into the next row/column etc?
B:=Array(1..14,1..14,(i,j)->Longlistvalue[(j-1)*14+i])– acer Nov 21 '12 at 18:31