
6 May
2010
6 May
'10
6:03 p.m.
Why you don't use the same pointer arithmetic in C++? it's not easy because the data is hidden behind an abstraction
I though you wanted performances :)
on 06.05.2010 at 21:44 vicente.botet wrote : that is when you access an element like 'm(i, j)' it may be retrieved from some kind of storage or even computed on the fly performance is an important thing but i will not go C anyway
have you compared with uBlas? i haven't yet uBLAS docs claim there is no abstraction penalty for relativly large matrices but i don't know with what kind of C code they compared, maybe it is inefficient by the same factor as ublas routines giving apparently no abstraction penalty
-- Pavel