subspan
#
Header: <pressio/expressions.hpp>
API#
namespace pressio {
template<class T>
/*impl defined*/ subspan(T & operand,
std::pair<std::size_t, std::size_t> rowsRange,
std::pair<std::size_t, std::size_t> colsRange);
} // end namespace pressio
Description#
Takes in an
operand
, as well as therowsRange
andcolsRange
intervals that will be used in each dimensionoperand
is either:an Eigen dense matrix,
pressio::is_dense_matrix_eigen<T>::value == true
a Kokkos rank-2 view, i.e.
pressio::is_dense_matrix_kokkos<T>::value == true
Returns an expression object that represents a subspan of the
operand
.