Ignore:
Timestamp:
Feb 10, 2008, 11:48:19 PM (14 years ago)
Author:
Peter
Message:

Iterators for KernelLookup? - refs #267

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/MatrixLookup.h

    r1063 r1066  
    221221
    222222    /**
     223       Iterator iterates along a row. When end of row is reached it
     224       jumps to beginning of next row.
     225
     226       \return const_iterator pointing to upper-left element.
    223227     */
    224228    const_iterator begin(void) const;
    225229
    226230    /**
     231       Iterator iterates along a column.
     232
     233       \return iterator pointing to first element of column \a i.
    227234     */
    228235    const_iterator begin_column(size_t) const;
    229236
    230237    /**
     238       Iterator iterates along a column.
     239
     240       \return const_iterator pointing to first element of column \a i.
    231241     */
    232242    const_iterator begin_row(size_t) const;
    233243
    234244    /**
     245       \return const_iterator pointing to end of matrix
    235246     */
    236247    const_iterator end(void) const;
    237248
    238249    /**
     250       \return const_iterator pointing to end of column \a i
    239251     */
    240252    const_iterator end_column(size_t) const;
    241253
    242254    /**
     255       \return const_iterator pointing to end of row \a i
    243256     */
    244257    const_iterator end_row(size_t) const;
     
    310323   
    311324  private:
    312     typedef utility::Iterator<const MatrixLookup, const double> normal_iter;
    313325    friend class MatrixLookupWeighted;
    314326
Note: See TracChangeset for help on using the changeset viewer.