|
|
typedef PatternT | pattern_type |
| |
|
typedef PatternT::index_type | index_type |
| |
|
typedef ElementT | value_type |
| |
|
typedef IndexSpace_t | index_space_type |
| |
|
typedef PatternT::size_type | size_type |
| |
|
typedef PatternT::index_type | difference_type |
| |
|
typedef GlobViewIter< value_type, PatternT, GlobMem_t > | iterator |
| |
|
typedef GlobViewIter< const value_type, PatternT, GlobMem_t > | const_iterator |
| |
|
typedef std::reverse_iterator< iterator > | reverse_iterator |
| |
|
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
| |
|
typedef GlobRef< value_type > | reference |
| |
|
typedef GlobRef< const value_type > | const_reference |
| |
|
typedef iterator | pointer |
| |
|
typedef const_iterator | const_pointer |
| |
|
typedef LocalMatrixRef< ElementT, NumDimensions, NumDimensions, PatternT, LocalMemT > | local_type |
| |
|
typedef LocalMatrixRef< const ElementT, NumDimensions, NumDimensions, PatternT, LocalMemT > | const_local_type |
| |
|
typedef LocalMatrixRef< ElementT, NumDimensions, NumDimensions, PatternT, LocalMemT > | local_reference_type |
| |
|
typedef LocalMatrixRef< const ElementT, NumDimensions, NumDimensions, PatternT, LocalMemT > | const_local_reference_type |
| |
|
typedef std::integral_constant< dim_t, NumViewDim > | rank |
| |
|
|
| operator MatrixRef< ElementT, NumDimensions, NumViewDim-1, PatternT, LocalMemT > () |
| |
|
template<class T_ > |
| | MatrixRef (const MatrixRef< T_, NumDimensions, NumViewDim+1, PatternT, LocalMemT > &prev, index_type coord) |
| |
|
template<class T_ > |
| | MatrixRef (const MatrixRef< T_, NumDimensions, NumViewDim, PatternT, LocalMemT > &other) |
| |
|
constexpr Team & | team () const noexcept |
| |
|
constexpr size_type | size () const noexcept |
| |
|
constexpr size_type | local_size () const noexcept |
| |
|
constexpr size_type | local_capacity () const noexcept |
| |
|
constexpr size_type | extent (dim_t dim) const noexcept |
| |
|
constexpr Extents_t | extents () const noexcept |
| |
|
constexpr index_type | offset (dim_t dim) const noexcept |
| |
|
constexpr Offsets_t | offsets () const noexcept |
| |
|
constexpr bool | empty () const noexcept |
| |
|
void | barrier () const |
| |
| constexpr const PatternT & | pattern () const noexcept |
| | The pattern used to distribute matrix elements to units in its associated team. More...
|
| |
|
constexpr const_pointer | data () const noexcept |
| |
|
pointer | data () noexcept |
| |
|
iterator | begin () noexcept |
| |
|
constexpr const_iterator | begin () const noexcept |
| |
|
iterator | end () noexcept |
| |
|
constexpr const_iterator | end () const noexcept |
| |
| local_type | sub_local () noexcept |
| | View representing elements in the active unit's local memory. More...
|
| |
| ElementT * | lbegin () noexcept |
| | Pointer to first element in local range. More...
|
| |
| constexpr const ElementT * | lbegin () const noexcept |
| | Pointer to first element in local range. More...
|
| |
| ElementT * | lend () noexcept |
| | Pointer past final element in local range. More...
|
| |
| constexpr const ElementT * | lend () const noexcept |
| | Pointer past final element in local range. More...
|
| |
| template<dim_t __NumViewDim = NumViewDim - 1> |
| std::enable_if<(__NumViewDim !=0), MatrixRef< ElementT, NumDimensions, __NumViewDim, PatternT, LocalMemT > >::type | operator[] (size_type n) |
| | Subscript operator, returns a submatrix reference at given offset in global element range. More...
|
| |
| template<dim_t __NumViewDim = NumViewDim - 1> |
| std::enable_if<(__NumViewDim !=0), MatrixRef< const ElementT, NumDimensions, __NumViewDim, PatternT, LocalMemT > >::type constexpr | operator[] (size_type n) const |
| | Subscript operator, returns a submatrix reference at given offset in global element range. More...
|
| |
| template<dim_t __NumViewDim = NumViewDim-1> |
| std::enable_if<(__NumViewDim==0), reference >::type | operator[] (size_type n) |
| | Subscript operator, returns a dash::GlobRef at given offset in global element range for last dimension. More...
|
| |
| template<dim_t __NumViewDim = NumViewDim-1> |
| std::enable_if<(__NumViewDim==0), const_reference >::type | operator[] (size_type n) const |
| | Subscript operator, returns a dash::GlobRef at given offset in global element range for last dimension. More...
|
| |
|
template<dim_t NumSubDimensions> |
| MatrixRef< const ElementT, NumDimensions, NumDimensions - 1, PatternT, LocalMemT > | sub (size_type n) const |
| |
|
template<dim_t NumSubDimensions> |
| MatrixRef< ElementT, NumDimensions, NumDimensions-1, PatternT, LocalMemT > | sub (size_type n) |
| |
|
MatrixRef< ElementT, NumDimensions, NumDimensions-1, PatternT, LocalMemT > | col (size_type n) |
| |
|
MatrixRef< ElementT, NumDimensions, NumDimensions-1, PatternT, LocalMemT > | row (size_type n) |
| |
|
template<dim_t SubDimension> |
| MatrixRef< const ElementT, NumDimensions, NumDimensions, PatternT, LocalMemT > | sub (size_type n, size_type range) const |
| |
|
template<dim_t SubDimension> |
| MatrixRef< ElementT, NumDimensions, NumDimensions, PatternT, LocalMemT > | sub (size_type n, size_type range) |
| |
| MatrixRef< ElementT, NumDimensions, NumDimensions, PatternT, LocalMemT > | rows (size_type n, size_type range) |
| | Create a view representing the matrix slice within a row range. More...
|
| |
| MatrixRef< ElementT, NumDimensions, NumDimensions, PatternT, LocalMemT > | cols (size_type offset, size_type range) |
| | Create a view representing the matrix slice within a column range. More...
|
| |
| template<typename ... Args> |
| reference | at (Args... args) |
| | Fortran-style subscript operator. More...
|
| |
| template<typename ... Args> |
| const_reference | at (Args... args) const |
| | Fortran-style subscript operator. More...
|
| |
| const_reference | at (const ::std::array< index_type, NumDimensions > &coords) const |
| | Fortran-style subscript operator. More...
|
| |
| reference | at (const ::std::array< index_type, NumDimensions > &coords) |
| | Fortran-style subscript operator. More...
|
| |
| template<typename... Args> |
| reference | operator() (Args... args) |
| | Fortran-style subscript operator, alias for at(). More...
|
| |
|
constexpr bool | is_local (index_type n) const |
| |
|
template<dim_t Dimension> |
| constexpr bool | is_local (index_type n) const |
| |
|
constexpr const ViewSpec< NumDimensions, index_type > & | viewspec () const |
| |
|
template<int level> |
| dash::HView< Matrix< ElementT, NumDimensions, Index_t, PatternT, LocalMemT >, level > | hview () |
| |
template<typename ElementT, dim_t NumDimensions, dim_t NumViewDim, class PatternT, class LocalMemT>
class dash::MatrixRef< ElementT, NumDimensions, NumViewDim, PatternT, LocalMemT >
Forward-declaration.
A view on a referenced Matrix object, such as a dimensional projection returned by Matrix::sub.
TODO: Projection order matrix.sub().local() is not fully implemented yet. Currently only matrix.local().sub() is supported.
- See also
- Matrix Concept
Definition at line 34 of file LocalMatrixRef.h.