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

Public Types

using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using scalar_reference = std::iter_reference_t< TIter >
 
using reference = dr::matrix_ref< T, I, scalar_reference >
 
using scalar_type = T
 
using index_type = I
 
using key_type = dr::index< I >
 
using map_type = T
 
using iterator = csr_matrix_view_iterator< T, I, TIter, IIter >
 

Public Member Functions

 csr_matrix_view (TIter values, IIter rowptr, IIter colind, key_type shape, size_type nnz, size_type rank)
 
 csr_matrix_view (TIter values, IIter rowptr, IIter colind, key_type shape, size_type nnz, size_type rank, key_type idx_offset)
 
key_type shape () const noexcept
 
size_type size () const noexcept
 
std::size_t rank () const
 
iterator begin () const
 
iterator end () const
 
auto row (I row_index) const
 
auto submatrix (key_type rows, key_type columns) const
 
auto values_data () const
 
auto rowptr_data () const
 
auto colind_data () const
 

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