Boost logo

Boost :

From: boost (boost_at_[hidden])
Date: 2002-02-09 04:39:44


Dear all,

wouldn't it be nice to have an iterator for matrices,
which iterates over all elements in the fastest way
possible.
In my Application I have to update all elements of a
matrix, so I'd like to write

numerics::matrix<...> m;
// ....
for( matrix::iterator it = m.b.begin(); it != m.end(); ++it )
        *it = MySpecialFormula( *it );

I was only able to find iterator1 / iterator2 in ublas::matrix.

Best wishes,
Peter


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk