.. include:: ../../mydefs.rst ``subspan`` =========== Header: ```` API --- .. code-block:: cpp namespace pressio { template /*impl defined*/ subspan(T & operand, std::pair rowsRange, std::pair colsRange); } // end namespace pressio Description ----------- * Takes in an ``operand``, as well as the ``rowsRange`` and ``colsRange`` intervals that will be used in each dimension * ``operand`` is either: * an Eigen dense matrix, ``pressio::is_dense_matrix_eigen::value == true`` * a Kokkos rank-2 view, i.e. ``pressio::is_dense_matrix_kokkos::value == true`` * Returns an expression object that represents a subspan of the ``operand``.