diff -r f50c8c191cbd -r 59769591eb60 lemon/matrix_maps.h --- a/lemon/matrix_maps.h Mon May 15 09:46:33 2006 +0000 +++ b/lemon/matrix_maps.h Mon May 15 09:49:51 2006 +0000 @@ -47,6 +47,9 @@ typedef typename MatrixMap::Value Value; + /// \brief Constructor of the row map + /// + /// Constructor of the row map. MatrixRowMap(MatrixMap& _matrix, typename MatrixMap::FirstKey _row) : matrix(_matrix), row(_row) {} @@ -91,6 +94,9 @@ typedef typename MatrixMap::Value Value; + /// \brief Constructor of the row map + /// + /// Constructor of the row map. ConstMatrixRowMap(const MatrixMap& _matrix, typename MatrixMap::FirstKey _row) : matrix(_matrix), row(_row) {} @@ -108,11 +114,14 @@ typename MatrixMap::FirstKey row; }; + /// \ingroup matrices + /// /// \brief Gives back a row view of the matrix map /// - /// \ingroup matrices /// Gives back a row view of the matrix map. /// + /// \sa MatrixRowMap + /// \sa ConstMatrixRowMap template MatrixRowMap matrixRowMap(MatrixMap& matrixMap, typename MatrixMap::FirstKey row) { @@ -137,6 +146,9 @@ typedef typename MatrixMap::FirstKey Key; typedef typename MatrixMap::Value Value; + /// \brief Constructor of the column map + /// + /// Constructor of the column map. MatrixColMap(MatrixMap& _matrix, typename MatrixMap::SecondKey _col) : matrix(_matrix), col(_col) {} @@ -180,6 +192,9 @@ typedef typename MatrixMap::FirstKey Key; typedef typename MatrixMap::Value Value; + /// \brief Constructor of the column map + /// + /// Constructor of the column map. ConstMatrixColMap(const MatrixMap& _matrix, typename MatrixMap::SecondKey _col) : matrix(_matrix), col(_col) {} @@ -197,11 +212,14 @@ typename MatrixMap::SecondKey col; }; + /// \ingroup matrices + /// /// \brief Gives back a column view of the matrix map /// - /// \ingroup matrices /// Gives back a column view of the matrix map. /// + /// \sa MatrixColMap + /// \sa ConstMatrixColMap template MatrixColMap matrixColMap(MatrixMap& matrixMap, typename MatrixMap::SecondKey col) {