MUDA
Loading...
Searching...
No Matches
muda::TripletMatrixViewBase< IsConst, Ty, N > Class Template Reference
Inheritance diagram for muda::TripletMatrixViewBase< IsConst, Ty, N >:
muda::ViewBase< IsConst >

Public Types

using ConstView = TripletMatrixViewBase< true, Ty, N >
 
using NonConstView = TripletMatrixViewBase< false, Ty, N >
 
using ThisView = TripletMatrixViewBase< IsConst, Ty, N >
 
using BlockMatrix = Eigen::Matrix< Ty, N, N >
 
- Public Types inherited from muda::ViewBase< IsConst >
using auto_const_t = std::conditional_t< IsConst, const T, T >
 
using non_const_enable_t = std::enable_if_t< IsNonConst, T >
 

Public Member Functions

MUDA_GENERIC TripletMatrixViewBase (int total_block_rows, int total_block_cols, int triplet_index_offset, int triplet_count, int total_triplet_count, int2 submatrix_offset, int2 submatrix_extent, auto_const_t< int > *block_row_indices, auto_const_t< int > *block_col_indices, auto_const_t< BlockMatrix > *block_values)
 
MUDA_GENERIC TripletMatrixViewBase (int total_block_rows, int total_block_cols, int total_triplet_count, auto_const_t< int > *block_row_indices, auto_const_t< int > *block_col_indices, auto_const_t< BlockMatrix > *block_values)
 
MUDA_GENERIC ConstView as_const () const
 
MUDA_GENERIC operator ConstView () const
 
MUDA_GENERIC auto subview (int offset, int count) const
 
MUDA_GENERIC auto subview (int offset) const
 
MUDA_GENERIC auto cviewer () const
 
MUDA_GENERIC auto viewer ()
 
MUDA_GENERIC auto_const_t< BlockMatrix > * block_values ()
 
MUDA_GENERIC auto_const_t< int > * block_row_indices ()
 
MUDA_GENERIC auto_const_t< int > * block_col_indices ()
 
MUDA_GENERIC auto submatrix (int2 offset, int2 extent) const
 
MUDA_GENERIC auto total_block_rows () const
 
MUDA_GENERIC auto total_block_cols () const
 
MUDA_GENERIC auto total_extent () const
 
MUDA_GENERIC auto submatrix_offset () const
 
MUDA_GENERIC auto extent () const
 
MUDA_GENERIC auto triplet_count () const
 
MUDA_GENERIC auto tripet_index_offset () const
 
MUDA_GENERIC auto total_triplet_count () const
 

Protected Attributes

int m_total_block_rows = 0
 
int m_total_block_cols = 0
 
int m_triplet_index_offset = 0
 
int m_triplet_count = 0
 
int m_total_triplet_count = 0
 
int2 m_submatrix_offset = {0, 0}
 
int2 m_submatrix_extent = {0, 0}
 
auto_const_t< int > * m_block_row_indices = nullptr
 
auto_const_t< int > * m_block_col_indices = nullptr
 
auto_const_t< BlockMatrix > * m_block_values = nullptr
 

Additional Inherited Members

- Static Public Attributes inherited from muda::ViewBase< IsConst >
static constexpr bool IsConst
 
static constexpr bool IsNonConst
 

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