Changeset 1065
- Timestamp:
- Feb 10, 2008, 11:24:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/utility/matrix.h
r1064 r1065 158 158 159 159 /** 160 Iterator iterates along a row. When end of row is reached it 161 jumps to beginning of next row. 162 163 \return iterator pointing to upper-left element. 160 164 */ 161 165 iterator begin(void); 162 166 163 167 /** 168 Iterator iterates along a row. When end of row is reached it 169 jumps to beginning of next row. 170 171 \return const_iterator pointing to upper-left element. 164 172 */ 165 173 const_iterator begin(void) const; 166 174 167 175 /** 168 */ 169 iterator begin_column(size_t); 170 171 /** 172 */ 173 const_iterator begin_column(size_t) const; 174 175 /** 176 */ 177 iterator begin_row(size_t); 178 179 /** 180 */ 181 const_iterator begin_row(size_t) const; 176 Iterator iterates along a column. 177 178 \return iterator pointing to first element of column \a i. 179 */ 180 iterator begin_column(size_t i); 181 182 /** 183 Iterator iterates along a column. 184 185 \return const_iterator pointing to first element of column \a i. 186 */ 187 const_iterator begin_column(size_t i) const; 188 189 /** 190 Iterator iterates along a row. 191 192 \return iterator pointing to first element of row \a i. 193 */ 194 iterator begin_row(size_t i); 195 196 /** 197 Iterator iterates along a row. 198 199 \return const_iterator pointing to first element of row \a i. 200 */ 201 const_iterator begin_row(size_t i) const; 182 202 183 203 /** … … 190 210 191 211 /** 192 */ 193 VectorView column_view(size_t); 194 195 /** 212 \return Vector view of column \a i 213 */ 214 VectorView column_view(size_t i); 215 216 /** 217 \return const vector view of column \a i 196 218 */ 197 219 const VectorConstView column_const_view(size_t) const; … … 212 234 213 235 /** 236 \return iterator pointing to end of matrix 214 237 */ 215 238 iterator end(void); 216 239 217 240 /** 241 \return iterator pointing to end of matrix 218 242 */ 219 243 const_iterator end(void) const; 220 244 221 245 /** 222 */ 223 iterator end_column(size_t); 224 225 /** 226 */ 227 const_iterator end_column(size_t) const; 228 229 /** 230 */ 231 iterator end_row(size_t); 232 233 /** 234 */ 235 const_iterator end_row(size_t) const; 246 \return iterator pointing to end of column \a i 247 */ 248 iterator end_column(size_t i); 249 250 /** 251 \return const_iterator pointing to end of column \a i 252 */ 253 const_iterator end_column(size_t i) const; 254 255 /** 256 \return iterator pointing to end of row \a i 257 */ 258 iterator end_row(size_t i); 259 260 /** 261 \return const_iterator pointing to end of row \a i 262 */ 263 const_iterator end_row(size_t i) const; 236 264 237 265 /** … … 289 317 290 318 /** 319 \return Vector view of \a i 291 320 */ 292 321 VectorView row_view(size_t); 293 322 294 323 /** 324 \return const vector view of \a i 295 325 */ 296 326 const VectorConstView row_const_view(size_t) const;
Note: See TracChangeset
for help on using the changeset viewer.