Rank: Administration Groups: Registered, Advanced Member Joined: 23/06/2009(UTC) Posts: 1,740 Was thanked: 318 time(s) in 268 post(s)
|
Hello, Try this for(k,range(1,rows(A)),line(for(i,range(1,rows(),for(j,range(1,cols(),el(c,i,j):el(B,i,j)/el(el(A,k),i,j))),el(C,k):c,2,1))C=mat(mat(4,2.5,2,1.75,1.6,1.5,3,2),mat(0.571,0.625,0.667,7,4,3,3,2),2,1)It seems that direct assignment of a matrix element in a nested matrix is not allowed. Try to avoid such constructions - it will give trouble. Regards, Edited by user 03 September 2014 16:35:20(UTC)
| Reason: Not specified |
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!" |