1 #ifndef DASH__MATRIX__MATRIX_REF_VIEW_H_INCLUDED 2 #define DASH__MATRIX__MATRIX_REF_VIEW_H_INCLUDED 8 #include <dash/Pattern.h> 9 #include <dash/GlobRef.h> 10 #include <dash/HView.h> 12 #include <dash/iterator/GlobIter.h> 63 typedef typename PatternT::index_type index_type;
72 ::std::array<index_type, NumDimensions> _coord = {{ }};
84 friend std::ostream & operator<<(
103 dim_t NumDimensions1,
104 dim_t NumDimensions2,
110 dim_t NumDimensions1,
113 typename LocalMemT_ >
130 const ::std::array<typename PatternT::index_type, NumDimensions> & coords
133 const ::std::array<typename PatternT::index_type, NumDimensions> & coords
139 dim_t NumDimensions1,
142 std::ostream & operator<<(
145 std::ostringstream ss;
148 <<
"dim:" << mrefview._dim <<
", " 149 <<
"coords:" << mrefview._coord <<
", " 150 <<
"view:" << mrefview._viewspec
152 return operator<<(os, ss.str());
157 #include <dash/matrix/internal/MatrixRefView-inl.h> 159 #endif // DASH__MATRIX__MATRIX_REF_VIEW_H_INCLUDED
This class is a simple memory pool which holds allocates elements of size ValueType.
int dim_t
Scalar type for a dimension value, with 0 indicating the first dimension.
Stores information needed by subscripting and subdim selection.
std::string typestr(const T &obj)
Returns string containing the type name of the given object.