Opened 13 years ago

Closed 13 years ago

#306 closed request (fixed)

Iterators for utility::matrix

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.4
Component: utility Version: trunk
Keywords: Cc:

Description

needs ticket:303

related to ticket:267

Use StrideIterator? (#303) and implement functions

begin(void);
end(void);
begin_row(size_t);
end_row(size_t);
begin_column(size_t);
end_column(size_t);

both for iterator and const_iterator. See how it will be implemented in vector.

Change History (3)

comment:1 Changed 13 years ago by Peter

Owner: changed from Jari Häkkinen to Peter
Status: newassigned

comment:2 Changed 13 years ago by Peter

Iterators will assume that matrix elements are located in consecutive memory, i.e., we are not dealing with a sub-view. I think this is ok, since we don't allow view according to ticket:299. But we should remember this if we in a future allow sub-matrix views.

comment:3 Changed 13 years ago by Peter

Resolution: fixed
Status: assignedclosed

in [1064]

Note: See TracTickets for help on using tickets.