Skip to content

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

using muda::DoubletVectorViewBase< IsConst, T, N >::ConstView =  DoubletVectorViewBase<true, T, N>;

typedef ConstViewer

using muda::DoubletVectorViewBase< IsConst, T, N >::ConstViewer =  CDoubletVectorViewer<T, N>;

typedef NonConstView

using muda::DoubletVectorViewBase< IsConst, T, N >::NonConstView =  DoubletVectorViewBase<false, T, N>;

typedef NonConstViewer

using muda::DoubletVectorViewBase< IsConst, T, N >::NonConstViewer =  DoubletVectorViewer<T, N>;

typedef SegmentVector

using muda::DoubletVectorViewBase< IsConst, T, N >::SegmentVector =  Eigen::Matrix<T, N, 1>;

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]

MUDA_GENERIC muda::DoubletVectorViewBase::DoubletVectorViewBase () = default

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

inline MUDA_GENERIC ConstView muda::DoubletVectorViewBase::as_const () noexcept const

function cviewer

inline MUDA_GENERIC ConstViewer muda::DoubletVectorViewBase::cviewer () noexcept const

function doublet_count

inline MUDA_GENERIC int muda::DoubletVectorViewBase::doublet_count () noexcept const

function extent

inline MUDA_GENERIC int muda::DoubletVectorViewBase::extent () noexcept const

function operator ConstView

inline MUDA_GENERIC muda::DoubletVectorViewBase::operator ConstView () noexcept const

function subvector

inline MUDA_GENERIC auto muda::DoubletVectorViewBase::subvector (
    int offset,
    int extent
) noexcept const

function subvector_offset

inline MUDA_GENERIC int muda::DoubletVectorViewBase::subvector_offset () noexcept const

function subview [1/2]

inline MUDA_GENERIC ThisView muda::DoubletVectorViewBase::subview (
    int offset,
    int count
) noexcept const

function subview [2/2]

inline MUDA_GENERIC ThisView muda::DoubletVectorViewBase::subview (
    int offset
) noexcept const

function total_doublet_count

inline MUDA_GENERIC int muda::DoubletVectorViewBase::total_doublet_count () noexcept const

function total_extent

inline MUDA_GENERIC int muda::DoubletVectorViewBase::total_extent () noexcept const

function viewer

inline MUDA_GENERIC ThisViewer muda::DoubletVectorViewBase::viewer () noexcept

Protected Attributes Documentation

variable m_doublet_count

int muda::DoubletVectorViewBase< IsConst, T, N >::m_doublet_count;

variable m_doublet_index_offset

int muda::DoubletVectorViewBase< IsConst, T, N >::m_doublet_index_offset;

variable m_segment_indices

auto_const_t<int>* muda::DoubletVectorViewBase< IsConst, T, N >::m_segment_indices;

variable m_segment_values

auto_const_t<SegmentVector>* muda::DoubletVectorViewBase< IsConst, T, N >::m_segment_values;

variable m_subvector_extent

int muda::DoubletVectorViewBase< IsConst, T, N >::m_subvector_extent;

variable m_subvector_offset

int muda::DoubletVectorViewBase< IsConst, T, N >::m_subvector_offset;

variable m_total_doublet_count

int muda::DoubletVectorViewBase< IsConst, T, N >::m_total_doublet_count;

variable m_total_segment_count

int muda::DoubletVectorViewBase< IsConst, T, N >::m_total_segment_count;


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