Class muda::DoubletVectorViewBase
template <bool IsConst, typename T, int N>
ClassList > muda > DoubletVectorViewBase
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef DoubletVectorViewBase< true, T, N > | ConstView |
typedef CDoubletVectorViewer< T, N > | ConstViewer |
typedef DoubletVectorViewBase< false, T, N > | NonConstView |
typedef DoubletVectorViewer< T, N > | NonConstViewer |
typedef Eigen::Matrix< T, N, 1 > | SegmentVector |
typedef DoubletVectorViewBase< IsConst, T, N > | ThisView |
typedef std::conditional_t< IsConst, ConstViewer, NonConstViewer > | ThisViewer |
Public Types inherited from muda::ViewBase
See muda::ViewBase
Type | Name |
---|---|
typedef std::conditional_t< IsConst, const T, T > | auto_const_t |
typedef std::enable_if_t< IsNonConst, T > | non_const_enable_t |
Public Static Attributes inherited from muda::ViewBase
See muda::ViewBase
Type | Name |
---|---|
constexpr bool | IsConst = = IsConst_ |
constexpr bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | DoubletVectorViewBase () = default |
MUDA_GENERIC | DoubletVectorViewBase (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 | DoubletVectorViewBase (int total_segment_count, int total_doublet_count, auto_const_t< int > * segment_indices, auto_const_t< SegmentVector > * segment_values) |
MUDA_GENERIC ConstView | as_const () noexcept const |
MUDA_GENERIC ConstViewer | cviewer () noexcept const |
MUDA_GENERIC int | doublet_count () noexcept const |
MUDA_GENERIC int | extent () noexcept const |
MUDA_GENERIC | operator ConstView () noexcept const |
MUDA_GENERIC auto | subvector (int offset, int extent) noexcept const |
MUDA_GENERIC int | subvector_offset () noexcept const |
MUDA_GENERIC ThisView | subview (int offset, int count) noexcept const |
MUDA_GENERIC ThisView | subview (int offset) noexcept const |
MUDA_GENERIC int | total_doublet_count () noexcept const |
MUDA_GENERIC int | total_extent () noexcept const |
MUDA_GENERIC ThisViewer | viewer () noexcept |
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< 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 |
Public Types Documentation
typedef ConstView
typedef ConstViewer
typedef NonConstView
using muda::DoubletVectorViewBase< IsConst, T, N >::NonConstView = DoubletVectorViewBase<false, T, N>;
typedef NonConstViewer
typedef SegmentVector
typedef ThisView
using muda::DoubletVectorViewBase< IsConst, T, N >::ThisView = DoubletVectorViewBase<IsConst, T, N>;
typedef ThisViewer
using muda::DoubletVectorViewBase< IsConst, T, N >::ThisViewer = std::conditional_t<IsConst, ConstViewer, NonConstViewer>;
Public Functions Documentation
function DoubletVectorViewBase [1/3]
function DoubletVectorViewBase [2/3]
inline MUDA_GENERIC muda::DoubletVectorViewBase::DoubletVectorViewBase (
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
)
function DoubletVectorViewBase [3/3]
inline MUDA_GENERIC muda::DoubletVectorViewBase::DoubletVectorViewBase (
int total_segment_count,
int total_doublet_count,
auto_const_t< int > * segment_indices,
auto_const_t< SegmentVector > * segment_values
)
function as_const
function cviewer
function doublet_count
function extent
function operator ConstView
function subvector
inline MUDA_GENERIC auto muda::DoubletVectorViewBase::subvector (
int offset,
int extent
) noexcept const
function subvector_offset
function subview [1/2]
inline MUDA_GENERIC ThisView muda::DoubletVectorViewBase::subview (
int offset,
int count
) noexcept const
function subview [2/2]
function total_doublet_count
function total_extent
function viewer
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
The documentation for this class was generated from the following file src/muda/ext/linear_system/doublet_vector_view.h