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

Public Types

using index_type = I
 
using map_type = T
 

Public Member Functions

 matrix_entry (dr::index< I > index, const map_type &value)
 
 matrix_entry (dr::index< I > index, map_type &&value)
 
template<typename U >
requires (std::is_constructible_v<T, U>)
 matrix_entry (dr::index< I > index, U &&value)
 
template<typename Entry >
requires (getable<Entry>)
 matrix_entry (Entry &&entry)
 
template<std::size_t Index>
auto get () const noexcept
 
 operator std::pair< std::pair< I, I >, T > () const noexcept
 
dr::index< I > index () const noexcept
 
map_type value () const noexcept
 
template<std::integral U>
requires (!std::is_same_v<I, U> && std::numeric_limits<U>::max() >= std::numeric_limits<I>::max())
 operator matrix_entry< T, U > () const noexcept
 
template<std::integral U>
requires (!std::is_const_v<T> && !std::is_same_v<I, U> && std::numeric_limits<U>::max() >= std::numeric_limits<I>::max())
 operator matrix_entry< std::add_const_t< T >, U > () const noexcept
 
bool operator< (const matrix_entry &other) const noexcept
 
 matrix_entry (const matrix_entry &)=default
 
 matrix_entry (matrix_entry &&)=default
 
matrix_entryoperator= (const matrix_entry &)=default
 
matrix_entryoperator= (matrix_entry &&)=default
 

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