Skip to content

Class muda::CDenseVectorViewer

template <typename T>

ClassList > muda > CDenseVectorViewer

Inherits the following classes: muda::DenseVectorViewerBase

Public Types inherited from muda::DenseVectorViewerBase

See muda::DenseVectorViewerBase

Type Name
typedef BufferView< T > BufferView
typedef CBufferView< T > CBufferView
typedef MapVectorT< const VectorType > CMapVector
typedef DenseVectorViewerBase< true, T > ConstViewer
typedef MapVectorT< VectorType > MapVector
typedef Eigen::Map< U, Eigen::AlignmentType::Unaligned, Eigen::Stride< Eigen::Dynamic, Eigen::Dynamic > > MapVectorT
typedef DenseVectorViewerBase< false, T > NonConstViewer
typedef std::conditional_t< IsConst, CBufferView, BufferView > ThisBufferView
typedef std::conditional_t< IsConst, CMapVector, MapVector > ThisMapVector
typedef std::conditional_t< IsConst, ConstViewer, NonConstViewer > ThisViewer
typedef Eigen::Vector< T, Eigen::Dynamic > VectorType

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 CDenseVectorViewer (const Base & base)
MUDA_GENERIC CDenseVectorViewer segment (int offset, int size) const
MUDA_GENERIC auto segment (int offset) const

Public Functions inherited from muda::DenseVectorViewerBase

See muda::DenseVectorViewerBase

Type Name
MUDA_GENERIC DenseVectorViewerBase (auto_const_t< T > * data, int offset, int size, int origin_size)
MUDA_GENERIC auto as_const () const
MUDA_GENERIC Eigen::VectorBlock< CMapVector > as_eigen () const
MUDA_GENERIC Eigen::VectorBlock< ThisMapVector > as_eigen ()
MUDA_GENERIC auto offset () const
MUDA_GENERIC operator ConstViewer () const
MUDA_GENERIC VectorBlock< CMapVector > () const
MUDA_GENERIC VectorBlock< ThisMapVector > ()
MUDA_GENERIC const T & operator() (int i) const
MUDA_GENERIC auto_const_t< T > & operator() (int i)
MUDA_GENERIC auto origin_data () const
MUDA_GENERIC auto origin_size () const
MUDA_GENERIC auto segment (int offset, int size)
MUDA_GENERIC auto segment (int offset)
MUDA_GENERIC auto segment (int offset, int size) const
MUDA_GENERIC auto segment (int offset) const
MUDA_GENERIC auto size () 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::DenseVectorViewerBase

See muda::DenseVectorViewerBase

Type Name
auto_const_t< T > * m_data
int m_offset = = 0
int m_origin_size = = 0
int m_size = = 0

Protected Functions inherited from muda::DenseVectorViewerBase

See muda::DenseVectorViewerBase

Type Name
MUDA_INLINE MUDA_GENERIC void check_data () const
MUDA_INLINE MUDA_GENERIC void check_segment (int offset, int size) const
MUDA_INLINE MUDA_GENERIC void check_size_matching (int N)
MUDA_INLINE MUDA_GENERIC int index (int i) 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 Functions Documentation

function CDenseVectorViewer

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

function segment [1/2]

inline MUDA_GENERIC CDenseVectorViewer muda::CDenseVectorViewer::segment (
    int offset,
    int size
) const

function segment [2/2]

template<int N>
inline MUDA_GENERIC auto muda::CDenseVectorViewer::segment (
    int offset
) const


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