Distributed Ranges
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
dr::mp::distributed_sparse_matrix< T, I, BackendT, MatrixDistrT > Class Template Reference

Classes

class  iterator
 

Public Types

using value_type = dr::matrix_entry< T, I >
 
using elem_type = T
 
using index_type = I
 
using key_type = dr::index< I >
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using backend_type = BackendT
 

Public Member Functions

 distributed_sparse_matrix (const distributed_sparse_matrix &)=delete
 
distributed_sparse_matrixoperator= (const distributed_sparse_matrix &)=delete
 
 distributed_sparse_matrix (distributed_sparse_matrix &&)
 
 distributed_sparse_matrix (dr::views::csr_matrix_view< T, I > csr_view, std::size_t root=0, distribution dist=distribution())
 Constructor.
 
auto begin () const
 Returns iterator to beginning.
 
auto end () const
 Returns iterator to end.
 
auto size () const
 Returns size.
 
auto shape () const
 
auto operator[] (difference_type n) const
 Returns reference using index.
 
auto segments () const
 
void fence ()
 
template<typename C >
requires (vector_multiplicable<MatrixDistrT>)
auto local_gemv_and_collect (std::size_t root, C &res, T *vals, std::size_t val_width) const
 

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