
14 Aug
2009
14 Aug
'09
5:49 p.m.
on 14.08.2009 at 21:30 joel wrote :
i see no contra in you words so i don't get why to drop nice subscript operator[] In fatc I just noticed you had both v_v so moot point here. agree
Well, it really makes things like : m(_i,_j) = m(_i+1,_j+1) * n(_j,_i); really easy to implement. Other nice things is : m( (3 < _i < 5) && ( _j % 3) ) = value; and other boolean based acces. You can also impelemnt matrix-matrix acces in a pinch. aka matrix<float> x; matrix<int> u; x(u) = ...; More over it has no side effect on performances so using it or not is always good. good point agree
-- Pavel