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
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,

Boost list run by bdawes at, gregod at, cpdaniel at, john at