Class muda::TripletMatrixViewerBase
template <bool IsConst, typename T, int N>
ClassList > muda > TripletMatrixViewerBase
Inherits the following classes: muda::ViewerBase
Classes
Public Types
Public Static Attributes inherited from muda::ViewerBase
See muda::ViewerBase
Type |
Name |
constexpr bool |
IsConst = = IsConst_
|
constexpr bool |
IsNonConst = = !IsConst_
|
Public Functions
Public Functions inherited from muda::ViewerBase
See muda::ViewerBase
Protected Types inherited from muda::ViewerBase
See muda::ViewerBase
Protected Attributes
Protected Functions
Type |
Name |
MUDA_INLINE MUDA_GENERIC void |
check_in_submatrix (int i, int j) noexcept const
|
MUDA_INLINE MUDA_GENERIC int |
get_index (int i) noexcept const
|
Protected Functions inherited from muda::ViewerBase
See muda::ViewerBase
Public Types Documentation
typedef BlockMatrix
using muda::TripletMatrixViewerBase< IsConst, T, N >::BlockMatrix = Eigen::Matrix<T, N, N>;
typedef ConstViewer
using muda::TripletMatrixViewerBase< IsConst, T, N >::ConstViewer = TripletMatrixViewerBase<true, T, N>;
typedef NonConstViewer
using muda::TripletMatrixViewerBase< IsConst, T, N >::NonConstViewer = TripletMatrixViewerBase<false, T, N>;
typedef ThisViewer
using muda::TripletMatrixViewerBase< IsConst, T, N >::ThisViewer = TripletMatrixViewerBase<IsConst, T, N>;
Public Functions Documentation
function TripletMatrixViewerBase [1/2]
MUDA_GENERIC muda::TripletMatrixViewerBase::TripletMatrixViewerBase () = default
function TripletMatrixViewerBase [2/2]
inline MUDA_GENERIC muda::TripletMatrixViewerBase::TripletMatrixViewerBase (
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 as_const
inline MUDA_GENERIC ConstViewer muda::TripletMatrixViewerBase::as_const () const
function extent
inline MUDA_GENERIC auto muda::TripletMatrixViewerBase::extent () const
function operator ConstViewer
inline MUDA_GENERIC muda::TripletMatrixViewerBase::operator ConstViewer () const
function operator()
inline MUDA_GENERIC CTriplet muda::TripletMatrixViewerBase::operator() (
int i
) const
function submatrix_offset
inline MUDA_GENERIC auto muda::TripletMatrixViewerBase::submatrix_offset () const
function total_block_cols
inline MUDA_GENERIC auto muda::TripletMatrixViewerBase::total_block_cols () const
function total_block_rows
inline MUDA_GENERIC auto muda::TripletMatrixViewerBase::total_block_rows () const
function total_extent
inline MUDA_GENERIC auto muda::TripletMatrixViewerBase::total_extent () const
function total_triplet_count
inline MUDA_GENERIC auto muda::TripletMatrixViewerBase::total_triplet_count () const
function tripet_index_offset
inline MUDA_GENERIC auto muda::TripletMatrixViewerBase::tripet_index_offset () const
function triplet_count
inline MUDA_GENERIC auto muda::TripletMatrixViewerBase::triplet_count () const
Protected Attributes Documentation
variable m_block_col_indices
auto_const_t<int>* muda::TripletMatrixViewerBase< IsConst, T, N >::m_block_col_indices;
variable m_block_row_indices
auto_const_t<int>* muda::TripletMatrixViewerBase< IsConst, T, N >::m_block_row_indices;
variable m_block_values
auto_const_t<BlockMatrix>* muda::TripletMatrixViewerBase< IsConst, T, N >::m_block_values;
variable m_submatrix_extent
int2 muda::TripletMatrixViewerBase< IsConst, T, N >::m_submatrix_extent;
variable m_submatrix_offset
int2 muda::TripletMatrixViewerBase< IsConst, T, N >::m_submatrix_offset;
variable m_total_block_cols
int muda::TripletMatrixViewerBase< IsConst, T, N >::m_total_block_cols;
variable m_total_block_rows
int muda::TripletMatrixViewerBase< IsConst, T, N >::m_total_block_rows;
variable m_total_triplet_count
int muda::TripletMatrixViewerBase< IsConst, T, N >::m_total_triplet_count;
variable m_triplet_count
int muda::TripletMatrixViewerBase< IsConst, T, N >::m_triplet_count;
variable m_triplet_index_offset
int muda::TripletMatrixViewerBase< IsConst, T, N >::m_triplet_index_offset;
Protected Functions Documentation
function check_in_submatrix
inline MUDA_INLINE MUDA_GENERIC void muda::TripletMatrixViewerBase::check_in_submatrix (
int i,
int j
) noexcept const
function get_index
inline MUDA_INLINE MUDA_GENERIC int muda::TripletMatrixViewerBase::get_index (
int i
) noexcept const
The documentation for this class was generated from the following file src/muda/ext/linear_system/triplet_matrix_viewer.h