Commit 360030b4 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Renaming forEachRow -> forAllRows.

parent b7123928
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ void forRowsExample()
         row.setColumnIndex( localIdx, localIdx );
      }
   };
   matrix.forEachRow( f );
   matrix.forAllRows( f );

   std::cout << matrix << std::endl;
}
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ void forRowsExample()
         row.setColumnIndex( localIdx, localIdx );
      }
   };
   view.forEachRow( f );
   view.forAllRows( f );

   std::cout << matrix << std::endl;
}
+2 −2
Original line number Diff line number Diff line
@@ -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.
@@ -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.
+4 −4
Original line number Diff line number Diff line
@@ -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,
@@ -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,
+2 −2
Original line number Diff line number Diff line
@@ -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.
@@ -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