Distributed Ranges
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
dr::sp::dense_matrix_view< T, Iter > Class Template Reference
Inheritance diagram for dr::sp::dense_matrix_view< T, Iter >:
Inheritance graph
[legend]
Collaboration diagram for dr::sp::dense_matrix_view< T, Iter >:
Collaboration graph
[legend]

Public Types

using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using scalar_reference = std::iter_reference_t< Iter >
 
using reference = dr::matrix_ref< T, std::size_t, scalar_reference >
 
using key_type = dr::index<>
 
using map_type = T
 
using iterator = dense_matrix_view_iterator< T, Iter >
 

Public Member Functions

 dense_matrix_view (Iter data, key_type shape, size_type ld, size_type rank)
 
 dense_matrix_view (Iter data, key_type shape, key_type idx_offset, size_type ld, size_type rank)
 
template<typename Allocator >
requires (std::is_same_v<typename std::allocator_traits<Allocator>::pointer, Iter>)
 dense_matrix_view (dense_matrix< T, Allocator > &m)
 
key_type shape () const noexcept
 
size_type size () const noexcept
 
scalar_reference operator[] (key_type idx) const
 
iterator begin () const
 
iterator end () const
 
auto row (size_type row_index) const
 
auto column (size_type column_index) const
 
Iter data () const
 
std::size_t rank () const
 
size_type ld () const
 
auto local () const
 

The documentation for this class was generated from the following file: