Skip to content

Class muda::TripletMatrixViewer

template <typename T, int N>

ClassList > muda > TripletMatrixViewer

Inherits the following classes: muda::TripletMatrixViewerBase

Classes

Type Name
class Proxy

Public Types

Type Name
typedef typename Base::BlockMatrix BlockMatrix
typedef typename Base::CTriplet CTriplet
typedef CTripletMatrixViewer< T, N > ConstViewer
typedef TripletMatrixViewer< T, N > NonConstViewer

Public Types inherited from muda::TripletMatrixViewerBase

See muda::TripletMatrixViewerBase

Type Name
typedef Eigen::Matrix< T, N, N > BlockMatrix
typedef TripletMatrixViewerBase< true, T, N > ConstViewer
typedef TripletMatrixViewerBase< false, T, N > NonConstViewer
typedef TripletMatrixViewerBase< IsConst, T, N > ThisViewer

Public Static Attributes inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
constexpr bool IsConst = = IsConst_
constexpr bool IsNonConst = = !IsConst_

Public Functions

Type Name
MUDA_GENERIC TripletMatrixViewer (const Base & base)
MUDA_GENERIC Proxy operator() (int i)

Public Functions inherited from muda::TripletMatrixViewerBase

See muda::TripletMatrixViewerBase

Type Name
MUDA_GENERIC TripletMatrixViewerBase () = default
MUDA_GENERIC 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)
MUDA_GENERIC ConstViewer as_const () const
MUDA_GENERIC auto extent () const
MUDA_GENERIC operator ConstViewer () const
MUDA_GENERIC CTriplet operator() (int i) const
MUDA_GENERIC auto submatrix_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

Public Functions inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
MUDA_GENERIC ViewerBase ()
ViewerBase (const ViewerBase &) = default
ViewerBase (ViewerBase &&) = default
MUDA_INLINE MUDA_GENERIC void copy_label (const ViewerBase & other)
MUDA_GENERIC const char * kernel_file () const
MUDA_GENERIC int kernel_line () const
MUDA_GENERIC const char * kernel_name () const
MUDA_GENERIC const char * name () const
ViewerBase & operator= (const ViewerBase &) = default
ViewerBase & operator= (ViewerBase &&) = default

Protected Types inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
typedef std::conditional_t< IsConst, const T, T > auto_const_t
typedef std::enable_if_t< IsNonConst, T > non_const_enable_t

Protected Attributes inherited from muda::TripletMatrixViewerBase

See muda::TripletMatrixViewerBase

Type Name
auto_const_t< int > * m_block_col_indices
auto_const_t< int > * m_block_row_indices
auto_const_t< BlockMatrix > * m_block_values
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

Protected Functions inherited from muda::TripletMatrixViewerBase

See muda::TripletMatrixViewerBase

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

Type Name
MUDA_INLINE MUDA_HOST void name (const char * n)
MUDA_INLINE MUDA_GENERIC void name (details::StringPointer pointer)

Public Types Documentation

typedef BlockMatrix

using muda::TripletMatrixViewer< T, N >::BlockMatrix =  typename Base::BlockMatrix;

typedef CTriplet

using muda::TripletMatrixViewer< T, N >::CTriplet =  typename Base::CTriplet;

typedef ConstViewer

using muda::TripletMatrixViewer< T, N >::ConstViewer =  CTripletMatrixViewer<T, N>;

typedef NonConstViewer

using muda::TripletMatrixViewer< T, N >::NonConstViewer =  TripletMatrixViewer<T, N>;

Public Functions Documentation

function TripletMatrixViewer

inline MUDA_GENERIC muda::TripletMatrixViewer::TripletMatrixViewer (
    const Base & base
) 

function operator()

inline MUDA_GENERIC Proxy muda::TripletMatrixViewer::operator() (
    int i
) 


The documentation for this class was generated from the following file src/muda/ext/linear_system/triplet_matrix_viewer.h