Skip to content

Class muda::DoubletVectorViewer

template <typename T, int N>

ClassList > muda > DoubletVectorViewer

Inherits the following classes: muda::DoubletVectorViewerBase

Classes

Type Name
class Proxy

Public Types

Type Name
typedef typename Base::CDoublet CDoublet
typedef typename Base::SegmentVector SegmentVector

Public Types inherited from muda::DoubletVectorViewerBase

See muda::DoubletVectorViewerBase

Type Name
typedef DoubletVectorViewerBase< true, T, N > ConstViewer
typedef DoubletVectorViewerBase< false, T, N > NonConstViewer
typedef Eigen::Matrix< T, N, 1 > SegmentVector
typedef DoubletVectorViewerBase< 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 DoubletVectorViewer (const Base & base)
MUDA_GENERIC Proxy operator() (int i)

Public Functions inherited from muda::DoubletVectorViewerBase

See muda::DoubletVectorViewerBase

Type Name
MUDA_GENERIC DoubletVectorViewerBase () = default
MUDA_GENERIC DoubletVectorViewerBase (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< SegmentVector > * segment_values)
MUDA_GENERIC ConstViewer as_const () noexcept const
MUDA_GENERIC int doublet_count () noexcept const
MUDA_GENERIC operator ConstViewer () noexcept const
MUDA_GENERIC CDoublet 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 inherited from muda::DoubletVectorViewerBase

See muda::DoubletVectorViewerBase

Type Name
int m_doublet_count = = 0
int m_doublet_index_offset = = 0
auto_const_t< int > * m_segment_indices
auto_const_t< SegmentVector > * 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 inherited from muda::DoubletVectorViewerBase

See muda::DoubletVectorViewerBase

Type Name
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 CDoublet

using muda::DoubletVectorViewer< T, N >::CDoublet =  typename Base::CDoublet;

typedef SegmentVector

using muda::DoubletVectorViewer< T, N >::SegmentVector =  typename Base::SegmentVector;

Public Functions Documentation

function DoubletVectorViewer

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

function operator()

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


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