Ignore:
Timestamp:
Sep 9, 2008, 3:39:43 PM (14 years ago)
Author:
Peter
Message:

refs #396
stupid implementation of constructors - copying should be avoided when
internal representation in MatrixLookupWeighted? has changed

File:
1 edited

Legend:

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

    r1437 r1482  
    4141
    4242namespace utility {
     43  class Index;
    4344  class Matrix;
     45  class MatrixWeighted;
    4446}
    4547
     
    9294    typedef const_iterator const_row_iterator;
    9395
     96    /**
     97       \brief Create a lookup into \a matrix.
     98
     99       The created lookup, mlw, will fullfil: mlw(i,j) =
     100       matrix(rows(i), columns(j))
     101     */
     102    MatrixLookupWeighted(const utility::MatrixWeighted& matrix,
     103                         const utility::Index& rows,
     104                         const utility::Index& columns);
     105
     106    /**
     107       \brief Create a lookup into entire \a matrix.
     108     */
     109    MatrixLookupWeighted(const utility::MatrixWeighted& matrix);
     110
    94111    ///
    95112    /// Constructor creating a lookup into the entire \a matrix and \a
Note: See TracChangeset for help on using the changeset viewer.