Class muda::DoubletVectorViewT
template <bool IsConst, typename T, int N>
ClassList > muda > DoubletVectorViewT
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef DoubletVectorViewT< true, T, N > | ConstView |
typedef CDoubletVectorViewer< T, N > | ConstViewer |
typedef DoubletVectorViewT< false, T, N > | NonConstView |
typedef DoubletVectorViewer< T, N > | NonConstViewer |
typedef Eigen::Matrix< T, N, 1 > | SegmentVector |
typedef DoubletVectorViewT< 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 |
---|---|
bool | IsConst = = IsConst_ |
bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | DoubletVectorViewT () = default |
MUDA_GENERIC | DoubletVectorViewT (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 | DoubletVectorViewT (int total_segment_count, int total_doublet_count, auto_const_t< int > * segment_indices, auto_const_t< SegmentVector > * segment_values) |
MUDA_GENERIC | DoubletVectorViewT (const DoubletVectorViewT< OtherIsConst, T, N > & other) noexcept |
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 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
typedef NonConstViewer
typedef SegmentVector
typedef ThisView
typedef ThisViewer
using muda::DoubletVectorViewT< IsConst, T, N >::ThisViewer = std::conditional_t<IsConst, ConstViewer, NonConstViewer>;
Public Functions Documentation
function DoubletVectorViewT [2/5]
function DoubletVectorViewT [3/5]
inline MUDA_GENERIC muda::DoubletVectorViewT::DoubletVectorViewT (
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 DoubletVectorViewT [4/5]
inline MUDA_GENERIC muda::DoubletVectorViewT::DoubletVectorViewT (
int total_segment_count,
int total_doublet_count,
auto_const_t< int > * segment_indices,
auto_const_t< SegmentVector > * segment_values
)
function DoubletVectorViewT [5/5]
template<bool OtherIsConst>
inline MUDA_GENERIC muda::DoubletVectorViewT::DoubletVectorViewT (
const DoubletVectorViewT < OtherIsConst, T, N > & other
) noexcept
function as_const
function cviewer
function doublet_count
function extent
function subvector
inline MUDA_GENERIC auto muda::DoubletVectorViewT::subvector (
int offset,
int extent
) noexcept const
function subvector_offset
function subview [1/2]
inline MUDA_GENERIC ThisView muda::DoubletVectorViewT::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