Loading Documentation/Examples/Matrices/SparseMatrix/SparseMatrixExample_forRows.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ void forRowsExample() row.setColumnIndex( localIdx, localIdx ); } }; matrix.forEachRow( f ); matrix.forAllRows( f ); std::cout << matrix << std::endl; } Loading Documentation/Examples/Matrices/SparseMatrix/SparseMatrixViewExample_forRows.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ void forRowsExample() row.setColumnIndex( localIdx, localIdx ); } }; view.forEachRow( f ); view.forAllRows( f ); std::cout << matrix << std::endl; } Loading src/TNL/Matrices/SparseMatrix.h +2 −2 Original line number Diff line number Diff line Loading @@ -864,7 +864,7 @@ class SparseMatrix : public Matrix< Real, Device, Index, RealAllocator > * \include SparseMatrixExample_forRows.out */ template< typename Function > void forEachRow( Function&& function ); void forAllRows( Function&& function ); /** * \brief Method for parallel iteration over all matrix rows for constant instances. Loading @@ -888,7 +888,7 @@ class SparseMatrix : public Matrix< Real, Device, Index, RealAllocator > * \include SparseMatrixExample_forRows.out */ template< typename Function > void forEachRow( Function&& function ) const; void forAllRows( Function&& function ) const; /** * \brief Method for sequential iteration over all matrix rows for constant instances. Loading src/TNL/Matrices/SparseMatrix.hpp +4 −4 Original line number Diff line number Diff line Loading @@ -699,9 +699,9 @@ template< typename Real, template< typename Function > void SparseMatrix< Real, Device, Index, MatrixType, Segments, ComputeReal, RealAllocator, IndexAllocator >:: forEachRow( Function&& function ) forAllRows( Function&& function ) { this->getView().forEachRow( function ); this->getView().forAllRows( function ); } template< typename Real, Loading @@ -715,9 +715,9 @@ template< typename Real, template< typename Function > void SparseMatrix< Real, Device, Index, MatrixType, Segments, ComputeReal, RealAllocator, IndexAllocator >:: forEachRow( Function&& function ) const forAllRows( Function&& function ) const { this->getConsView().forEachRow( function ); this->getConsView().forAllRows( function ); } template< typename Real, Loading src/TNL/Matrices/SparseMatrixView.h +2 −2 Original line number Diff line number Diff line Loading @@ -645,7 +645,7 @@ class SparseMatrixView : public MatrixView< Real, Device, Index > * \include SparseMatrixViewExample_forRows.out */ template< typename Function > void forEachRow( Function&& function ); void forAllRows( Function&& function ); /** * \brief Method for parallel iteration over all matrix rows for constant instances. Loading @@ -669,7 +669,7 @@ class SparseMatrixView : public MatrixView< Real, Device, Index > * \include SparseMatrixViewExample_forRows.out */ template< typename Function > void forEachRow( Function&& function ) const; void forAllRows( Function&& function ) const; /** * \brief Method for sequential iteration over all matrix rows for constant instances. Loading Loading
Documentation/Examples/Matrices/SparseMatrix/SparseMatrixExample_forRows.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ void forRowsExample() row.setColumnIndex( localIdx, localIdx ); } }; matrix.forEachRow( f ); matrix.forAllRows( f ); std::cout << matrix << std::endl; } Loading
Documentation/Examples/Matrices/SparseMatrix/SparseMatrixViewExample_forRows.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ void forRowsExample() row.setColumnIndex( localIdx, localIdx ); } }; view.forEachRow( f ); view.forAllRows( f ); std::cout << matrix << std::endl; } Loading
src/TNL/Matrices/SparseMatrix.h +2 −2 Original line number Diff line number Diff line Loading @@ -864,7 +864,7 @@ class SparseMatrix : public Matrix< Real, Device, Index, RealAllocator > * \include SparseMatrixExample_forRows.out */ template< typename Function > void forEachRow( Function&& function ); void forAllRows( Function&& function ); /** * \brief Method for parallel iteration over all matrix rows for constant instances. Loading @@ -888,7 +888,7 @@ class SparseMatrix : public Matrix< Real, Device, Index, RealAllocator > * \include SparseMatrixExample_forRows.out */ template< typename Function > void forEachRow( Function&& function ) const; void forAllRows( Function&& function ) const; /** * \brief Method for sequential iteration over all matrix rows for constant instances. Loading
src/TNL/Matrices/SparseMatrix.hpp +4 −4 Original line number Diff line number Diff line Loading @@ -699,9 +699,9 @@ template< typename Real, template< typename Function > void SparseMatrix< Real, Device, Index, MatrixType, Segments, ComputeReal, RealAllocator, IndexAllocator >:: forEachRow( Function&& function ) forAllRows( Function&& function ) { this->getView().forEachRow( function ); this->getView().forAllRows( function ); } template< typename Real, Loading @@ -715,9 +715,9 @@ template< typename Real, template< typename Function > void SparseMatrix< Real, Device, Index, MatrixType, Segments, ComputeReal, RealAllocator, IndexAllocator >:: forEachRow( Function&& function ) const forAllRows( Function&& function ) const { this->getConsView().forEachRow( function ); this->getConsView().forAllRows( function ); } template< typename Real, Loading
src/TNL/Matrices/SparseMatrixView.h +2 −2 Original line number Diff line number Diff line Loading @@ -645,7 +645,7 @@ class SparseMatrixView : public MatrixView< Real, Device, Index > * \include SparseMatrixViewExample_forRows.out */ template< typename Function > void forEachRow( Function&& function ); void forAllRows( Function&& function ); /** * \brief Method for parallel iteration over all matrix rows for constant instances. Loading @@ -669,7 +669,7 @@ class SparseMatrixView : public MatrixView< Real, Device, Index > * \include SparseMatrixViewExample_forRows.out */ template< typename Function > void forEachRow( Function&& function ) const; void forAllRows( Function&& function ) const; /** * \brief Method for sequential iteration over all matrix rows for constant instances. Loading