Class muda::DoubletVectorViewerT
template <bool IsConst, typename T, int N>
ClassList > muda > DoubletVectorViewerT
Inherits the following classes: muda::ViewerBase
Classes
Public Types
Type | Name |
---|---|
typedef DoubletVectorViewerT< true, T, N > | ConstViewer |
typedef DoubletVectorViewerT< false, T, N > | NonConstViewer |
typedef DoubletVectorViewerT< IsConst, T, N > | ThisViewer |
typedef std::conditional_t< N==1, T, Eigen::Matrix< T, N, 1 > > | ValueT |
Public Static Attributes inherited from muda::ViewerBase
See muda::ViewerBase
Type | Name |
---|---|
bool | IsConst = = IsConst_ |
bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | DoubletVectorViewerT () = default |
MUDA_GENERIC | DoubletVectorViewerT (int total_segment_count, int doublet_index_offset, int doublet_count, int total_doublet_count, int subvector_offset, int subvector_extent, auto_const_t< int > * segment_indices, auto_const_t< ValueT > * segment_values) |
MUDA_GENERIC | DoubletVectorViewerT (const DoubletVectorViewerT< OtherIsConst, T, N > & other) noexcept |
MUDA_GENERIC ConstViewer | as_const () noexcept const |
MUDA_GENERIC int | doublet_count () noexcept const |
MUDA_GENERIC auto | operator() (int i) const |
MUDA_GENERIC int | total_doublet_count () noexcept 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
Type | Name |
---|---|
int | m_doublet_count = = 0 |
int | m_doublet_index_offset = = 0 |
auto_const_t< int > * | m_segment_indices |
auto_const_t< ValueT > * | m_segment_values |
int | m_subvector_extent = = 0 |
int | m_subvector_offset = = 0 |
int | m_total_doublet_count = = 0 |
int | m_total_segment_count = = 0 |
Protected Functions
Type | Name |
---|---|
MUDA_INLINE MUDA_GENERIC CDoublet | at (int i) const |
MUDA_INLINE MUDA_GENERIC void | check_in_subvector (int i) 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 ConstViewer
typedef NonConstViewer
using muda::DoubletVectorViewerT< IsConst, T, N >::NonConstViewer = DoubletVectorViewerT<false, T, N>;
typedef ThisViewer
using muda::DoubletVectorViewerT< IsConst, T, N >::ThisViewer = DoubletVectorViewerT<IsConst, T, N>;
typedef ValueT
using muda::DoubletVectorViewerT< IsConst, T, N >::ValueT = std::conditional_t<N == 1, T, Eigen::Matrix<T, N, 1>>;
Public Functions Documentation
function DoubletVectorViewerT [2/4]
function DoubletVectorViewerT [3/4]
inline MUDA_GENERIC muda::DoubletVectorViewerT::DoubletVectorViewerT (
int total_segment_count,
int doublet_index_offset,
int doublet_count,
int total_doublet_count,
int subvector_offset,
int subvector_extent,
auto_const_t< int > * segment_indices,
auto_const_t< ValueT > * segment_values
)
function DoubletVectorViewerT [4/4]
template<bool OtherIsConst>
inline MUDA_GENERIC muda::DoubletVectorViewerT::DoubletVectorViewerT (
const DoubletVectorViewerT < OtherIsConst, T, N > & other
) noexcept
function as_const
function doublet_count
function operator()
function total_doublet_count
Protected Attributes Documentation
variable m_doublet_count
variable m_doublet_index_offset
variable m_segment_indices
variable m_segment_values
variable m_subvector_extent
variable m_subvector_offset
variable m_total_doublet_count
variable m_total_segment_count
Protected Functions Documentation
function at
function check_in_subvector
inline MUDA_INLINE MUDA_GENERIC void muda::DoubletVectorViewerT::check_in_subvector (
int i
) noexcept const
function get_index
The documentation for this class was generated from the following file src/muda/ext/linear_system/doublet_vector_viewer.h