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
Public Functions
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_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
Public Types Documentation
typedef ConstViewer
using muda::DoubletVectorViewerT< IsConst, T, N >::ConstViewer = DoubletVectorViewerT<true, T, N>;
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]
MUDA_GENERIC muda::DoubletVectorViewerT::DoubletVectorViewerT () = default
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
inline MUDA_GENERIC ConstViewer muda::DoubletVectorViewerT::as_const () noexcept const
function doublet_count
inline MUDA_GENERIC int muda::DoubletVectorViewerT::doublet_count () noexcept const
function operator()
inline MUDA_GENERIC auto muda::DoubletVectorViewerT::operator() (
int i
) const
function total_doublet_count
inline MUDA_GENERIC int muda::DoubletVectorViewerT::total_doublet_count () noexcept const
Protected Attributes Documentation
variable m_doublet_count
int muda::DoubletVectorViewerT< IsConst, T, N >::m_doublet_count;
variable m_doublet_index_offset
int muda::DoubletVectorViewerT< IsConst, T, N >::m_doublet_index_offset;
variable m_segment_indices
auto_const_t<int>* muda::DoubletVectorViewerT< IsConst, T, N >::m_segment_indices;
variable m_segment_values
auto_const_t<ValueT>* muda::DoubletVectorViewerT< IsConst, T, N >::m_segment_values;
variable m_subvector_extent
int muda::DoubletVectorViewerT< IsConst, T, N >::m_subvector_extent;
variable m_subvector_offset
int muda::DoubletVectorViewerT< IsConst, T, N >::m_subvector_offset;
variable m_total_doublet_count
int muda::DoubletVectorViewerT< IsConst, T, N >::m_total_doublet_count;
variable m_total_segment_count
int muda::DoubletVectorViewerT< IsConst, T, N >::m_total_segment_count;
Protected Functions Documentation
function at
inline MUDA_INLINE MUDA_GENERIC CDoublet muda::DoubletVectorViewerT::at (
int i
) const
function check_in_subvector
inline MUDA_INLINE MUDA_GENERIC void muda::DoubletVectorViewerT::check_in_subvector (
int i
) noexcept const
function get_index
inline MUDA_INLINE MUDA_GENERIC int muda::DoubletVectorViewerT::get_index (
int i
) noexcept const
The documentation for this class was generated from the following file src/muda/ext/linear_system/doublet_vector_viewer.h