Boost logo

Ublas :

From: Andreas Klöckner (lists_at_[hidden])
Date: 2006-07-08 19:23:43


On Thursday 06 July 2006 04:22, Gunter Winkler wrote:
> On Thursday 06 July 2006 10:38, Gunter Winkler wrote:
> > Do you use the duality feature of ublas' matrix iterators?
>
> Please have a look at
> http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?UBLAS_Matrix
>_Iterators where we (I) can collect the ideas.

The one thing that I miss most is to have one iterator that iterates over the
whole matrix. I was always wondering why the layered iterator approach makes
sense.

I would much prefer a solution where there is just a single layer of
iterators, possibly with a couple extra member functions like

  current_row()
  current_column()

  current_index() -> returns a pair?

  row_forward()
  row_back()

  etc.

Andreas