Class muda::TripletMatrixViewBase
template <bool IsConst, typename Ty, int N>
ClassList > muda > TripletMatrixViewBase
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef Eigen::Matrix< Ty, N, N > | BlockMatrix |
typedef TripletMatrixViewBase< true, Ty, N > | ConstView |
typedef TripletMatrixViewBase< false, Ty, N > | NonConstView |
typedef TripletMatrixViewBase< IsConst, Ty, N > | ThisView |
Public Types inherited from muda::ViewBase
See muda::ViewBase
Type | Name |
---|---|
typedef std::conditional_t< IsConst, const T, T > | auto_const_t |
typedef std::enable_if_t< IsNonConst, T > | non_const_enable_t |
Public Static Attributes inherited from muda::ViewBase
See muda::ViewBase
Type | Name |
---|---|
constexpr bool | IsConst = = IsConst_ |
constexpr bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | TripletMatrixViewBase () = default |
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 auto_const_t< int > * | block_col_indices () |
MUDA_GENERIC auto_const_t< int > * | block_row_indices () |
MUDA_GENERIC auto_const_t< BlockMatrix > * | block_values () |
MUDA_GENERIC auto | cviewer () const |
MUDA_GENERIC auto | extent () const |
MUDA_GENERIC | operator ConstView () const |
MUDA_GENERIC auto | submatrix (int2 offset, int2 extent) const |
MUDA_GENERIC auto | submatrix_offset () const |
MUDA_GENERIC auto | subview (int offset, int count) const |
MUDA_GENERIC auto | subview (int offset) const |
MUDA_GENERIC auto | total_block_cols () const |
MUDA_GENERIC auto | total_block_rows () const |
MUDA_GENERIC auto | total_extent () const |
MUDA_GENERIC auto | total_triplet_count () const |
MUDA_GENERIC auto | tripet_index_offset () const |
MUDA_GENERIC auto | triplet_count () const |
MUDA_GENERIC auto | viewer () |
Protected Attributes
Type | Name |
---|---|
auto_const_t< int > * | m_block_col_indices = = nullptr |
auto_const_t< int > * | m_block_row_indices = = nullptr |
auto_const_t< BlockMatrix > * | m_block_values = = nullptr |
int2 | m_submatrix_extent = = {0, 0} |
int2 | m_submatrix_offset = = {0, 0} |
int | m_total_block_cols = = 0 |
int | m_total_block_rows = = 0 |
int | m_total_triplet_count = = 0 |
int | m_triplet_count = = 0 |
int | m_triplet_index_offset = = 0 |
Public Types Documentation
typedef BlockMatrix
typedef ConstView
using muda::TripletMatrixViewBase< IsConst, Ty, N >::ConstView = TripletMatrixViewBase<true, Ty, N>;
typedef NonConstView
using muda::TripletMatrixViewBase< IsConst, Ty, N >::NonConstView = TripletMatrixViewBase<false, Ty, N>;
typedef ThisView
using muda::TripletMatrixViewBase< IsConst, Ty, N >::ThisView = TripletMatrixViewBase<IsConst, Ty, N>;
Public Functions Documentation
function TripletMatrixViewBase [1/3]
function TripletMatrixViewBase [2/3]
inline MUDA_GENERIC muda::TripletMatrixViewBase::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
)
function TripletMatrixViewBase [3/3]
inline MUDA_GENERIC muda::TripletMatrixViewBase::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
)
function as_const
function block_col_indices
function block_row_indices
function block_values
function cviewer
function extent
function operator ConstView
function submatrix
function submatrix_offset
function subview [1/2]
function subview [2/2]
function total_block_cols
function total_block_rows
function total_extent
function total_triplet_count
function tripet_index_offset
function triplet_count
function viewer
Protected Attributes Documentation
variable m_block_col_indices
variable m_block_row_indices
variable m_block_values
variable m_submatrix_extent
variable m_submatrix_offset
variable m_total_block_cols
variable m_total_block_rows
variable m_total_triplet_count
variable m_triplet_count
variable m_triplet_index_offset
The documentation for this class was generated from the following file src/muda/ext/linear_system/triplet_matrix_view.h