
18 Aug
2009
18 Aug
'09
4:08 p.m.
on 18.08.2009 at 19:51 joel wrote :
Why no just using matlab extended indexing of a matrix by a cartesian product of matrix of index ? a(x,y) = ... where x and y are matrix will put the ... in each element a(x(i),y(j)) for all i,j
i'm not a matlab'ist i'm rather a c++'ist if one can say so i'm not familiar with matlab idioms since that, i consider general cases but not any specific ones from matlab or maple or other by the way i asked a colleague of mine (who is familiar with matlab as well as c++) what syntax does he like more? and he said that he prefers c++ (regardles of performance) so my point is that it's a pure matter of taste -- Pavel