Class muda::TripletMatrixViewerT
template <bool IsConst, typename T, int N>
ClassList > muda > TripletMatrixViewerT
Inherits the following classes: muda::ViewerBase
Classes
Public Types
Type |
Name |
typedef TripletMatrixViewerT< true, T, N > |
ConstViewer
|
typedef TripletMatrixViewerT< false, T, N > |
NonConstViewer
|
typedef TripletMatrixViewerT< IsConst, T, N > |
ThisViewer
|
typedef std::conditional_t< N==1, T, Eigen::Matrix< T, N, N > > |
ValueT
|
Public Static Attributes inherited from muda::ViewerBase
See muda::ViewerBase
Public Functions
Type |
Name |
MUDA_GENERIC |
TripletMatrixViewerT () = default
|
MUDA_GENERIC |
TripletMatrixViewerT (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< ValueT > * block_values)
|
MUDA_GENERIC |
TripletMatrixViewerT (const TripletMatrixViewerT< OtherIsConst, T, N > & other)
|
MUDA_GENERIC ConstViewer |
as_const () const
|
MUDA_GENERIC auto |
extent () const
|
MUDA_GENERIC auto |
operator() (int i) const
|
MUDA_GENERIC auto |
submatrix_offset () const
|
MUDA_GENERIC auto |
total_cols () const
|
MUDA_GENERIC auto |
total_extent () const
|
MUDA_GENERIC auto |
total_rows () const
|
MUDA_GENERIC auto |
total_triplet_count () const
|
MUDA_GENERIC auto |
tripet_index_offset () const
|
MUDA_GENERIC auto |
triplet_count () const
|
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_GENERIC MUDA_INLINE CTriplet |
at (int i) noexcept const
|
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 ConstViewer
using muda::TripletMatrixViewerT< IsConst, T, N >::ConstViewer = TripletMatrixViewerT<true, T, N>;
typedef NonConstViewer
using muda::TripletMatrixViewerT< IsConst, T, N >::NonConstViewer = TripletMatrixViewerT<false, T, N>;
typedef ThisViewer
using muda::TripletMatrixViewerT< IsConst, T, N >::ThisViewer = TripletMatrixViewerT<IsConst, T, N>;
typedef ValueT
using muda::TripletMatrixViewerT< IsConst, T, N >::ValueT = std::conditional_t<N == 1, T, Eigen::Matrix<T, N, N>>;
Public Functions Documentation
function TripletMatrixViewerT [2/4]
MUDA_GENERIC muda::TripletMatrixViewerT::TripletMatrixViewerT () = default
function TripletMatrixViewerT [3/4]
inline MUDA_GENERIC muda::TripletMatrixViewerT::TripletMatrixViewerT (
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< ValueT > * block_values
)
function TripletMatrixViewerT [4/4]
template<bool OtherIsConst>
inline MUDA_GENERIC muda::TripletMatrixViewerT::TripletMatrixViewerT (
const TripletMatrixViewerT < OtherIsConst, T, N > & other
)
function as_const
inline MUDA_GENERIC ConstViewer muda::TripletMatrixViewerT::as_const () const
function extent
inline MUDA_GENERIC auto muda::TripletMatrixViewerT::extent () const
function operator()
inline MUDA_GENERIC auto muda::TripletMatrixViewerT::operator() (
int i
) const
function submatrix_offset
inline MUDA_GENERIC auto muda::TripletMatrixViewerT::submatrix_offset () const
function total_cols
inline MUDA_GENERIC auto muda::TripletMatrixViewerT::total_cols () const
function total_extent
inline MUDA_GENERIC auto muda::TripletMatrixViewerT::total_extent () const
function total_rows
inline MUDA_GENERIC auto muda::TripletMatrixViewerT::total_rows () const
function total_triplet_count
inline MUDA_GENERIC auto muda::TripletMatrixViewerT::total_triplet_count () const
function tripet_index_offset
inline MUDA_GENERIC auto muda::TripletMatrixViewerT::tripet_index_offset () const
function triplet_count
inline MUDA_GENERIC auto muda::TripletMatrixViewerT::triplet_count () const
Protected Attributes Documentation
variable m_col_indices
auto_const_t<int>* muda::TripletMatrixViewerT< IsConst, T, N >::m_col_indices;
variable m_row_indices
auto_const_t<int>* muda::TripletMatrixViewerT< IsConst, T, N >::m_row_indices;
variable m_submatrix_extent
int2 muda::TripletMatrixViewerT< IsConst, T, N >::m_submatrix_extent;
variable m_submatrix_offset
int2 muda::TripletMatrixViewerT< IsConst, T, N >::m_submatrix_offset;
variable m_total_cols
int muda::TripletMatrixViewerT< IsConst, T, N >::m_total_cols;
variable m_total_rows
int muda::TripletMatrixViewerT< IsConst, T, N >::m_total_rows;
variable m_total_triplet_count
int muda::TripletMatrixViewerT< IsConst, T, N >::m_total_triplet_count;
variable m_triplet_count
int muda::TripletMatrixViewerT< IsConst, T, N >::m_triplet_count;
variable m_triplet_index_offset
int muda::TripletMatrixViewerT< IsConst, T, N >::m_triplet_index_offset;
variable m_values
auto_const_t<ValueT>* muda::TripletMatrixViewerT< IsConst, T, N >::m_values;
Protected Functions Documentation
function at
inline MUDA_GENERIC MUDA_INLINE CTriplet muda::TripletMatrixViewerT::at (
int i
) noexcept const
function check_in_submatrix
inline MUDA_INLINE MUDA_GENERIC void muda::TripletMatrixViewerT::check_in_submatrix (
int i,
int j
) noexcept const
function get_index
inline MUDA_INLINE MUDA_GENERIC int muda::TripletMatrixViewerT::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