Skip to content

Class muda::DenseMatrixViewBase

template <bool IsConst, typename Ty>

ClassList > muda > DenseMatrixViewBase

Inherits the following classes: muda::ViewBase

Public Types

Type Name
typedef Buffer2DView< Ty > Buffer2DView
typedef CBuffer2DView< Ty > CBuffer2DView
typedef CDenseMatrixViewer< Ty > CViewer
typedef DenseMatrixViewBase< true, Ty > ConstView
typedef DenseMatrixViewBase< false, Ty > NonConstView
typedef std::conditional_t< IsConst, CBuffer2DView, Buffer2DView > ThisBuffer2DView
typedef DenseMatrixViewBase< IsConst, Ty > ThisView
typedef std::conditional_t< IsConst, CViewer, Viewer > ThisViewer
typedef DenseMatrixViewer< Ty > Viewer

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 DenseMatrixViewBase (ThisBuffer2DView view, size_t row, size_t col, bool trans=false, bool sym=false)
MUDA_GENERIC ThisView T ()
MUDA_GENERIC ConstView T () const
MUDA_GENERIC auto as_const () const
MUDA_GENERIC auto buffer_view ()
MUDA_GENERIC CBuffer2DView buffer_view () const
MUDA_GENERIC size_t col () const
MUDA_GENERIC CViewer cviewer () const
MUDA_GENERIC auto data ()
MUDA_GENERIC auto data () const
MUDA_GENERIC bool is_sym () const
MUDA_GENERIC bool is_trans () const
MUDA_GENERIC size_t lda () const
MUDA_GENERIC operator ConstView () const
MUDA_GENERIC size_t row () const
MUDA_GENERIC ThisViewer viewer ()

Protected Attributes

Type Name
size_t m_col = = 0
size_t m_row = = 0
bool m_sym = = false
bool m_trans = = false
ThisBuffer2DView m_view

Public Types Documentation

typedef Buffer2DView

using muda::DenseMatrixViewBase< IsConst, Ty >::Buffer2DView =  Buffer2DView<Ty>;

typedef CBuffer2DView

using muda::DenseMatrixViewBase< IsConst, Ty >::CBuffer2DView =  CBuffer2DView<Ty>;

typedef CViewer

using muda::DenseMatrixViewBase< IsConst, Ty >::CViewer =  CDenseMatrixViewer<Ty>;

typedef ConstView

using muda::DenseMatrixViewBase< IsConst, Ty >::ConstView =  DenseMatrixViewBase<true, Ty>;

typedef NonConstView

using muda::DenseMatrixViewBase< IsConst, Ty >::NonConstView =  DenseMatrixViewBase<false, Ty>;

typedef ThisBuffer2DView

using muda::DenseMatrixViewBase< IsConst, Ty >::ThisBuffer2DView =  std::conditional_t<IsConst, CBuffer2DView, Buffer2DView>;

typedef ThisView

using muda::DenseMatrixViewBase< IsConst, Ty >::ThisView =  DenseMatrixViewBase<IsConst, Ty>;

typedef ThisViewer

using muda::DenseMatrixViewBase< IsConst, Ty >::ThisViewer =  std::conditional_t<IsConst, CViewer, Viewer>;

typedef Viewer

using muda::DenseMatrixViewBase< IsConst, Ty >::Viewer =  DenseMatrixViewer<Ty>;

Public Functions Documentation

function DenseMatrixViewBase

inline MUDA_GENERIC muda::DenseMatrixViewBase::DenseMatrixViewBase (
    ThisBuffer2DView view,
    size_t row,
    size_t col,
    bool trans=false,
    bool sym=false
) 

function T [1/2]

MUDA_GENERIC ThisView muda::DenseMatrixViewBase::T () 

function T [2/2]

inline MUDA_GENERIC ConstView muda::DenseMatrixViewBase::T () const

function as_const

inline MUDA_GENERIC auto muda::DenseMatrixViewBase::as_const () const

function buffer_view [1/2]

inline MUDA_GENERIC auto muda::DenseMatrixViewBase::buffer_view () 

function buffer_view [2/2]

inline MUDA_GENERIC CBuffer2DView muda::DenseMatrixViewBase::buffer_view () const

function col

inline MUDA_GENERIC size_t muda::DenseMatrixViewBase::col () const

function cviewer

inline MUDA_GENERIC CViewer muda::DenseMatrixViewBase::cviewer () const

function data [1/2]

inline MUDA_GENERIC auto muda::DenseMatrixViewBase::data () 

function data [2/2]

inline MUDA_GENERIC auto muda::DenseMatrixViewBase::data () const

function is_sym

inline MUDA_GENERIC bool muda::DenseMatrixViewBase::is_sym () const

function is_trans

inline MUDA_GENERIC bool muda::DenseMatrixViewBase::is_trans () const

function lda

inline MUDA_GENERIC size_t muda::DenseMatrixViewBase::lda () const

function operator ConstView

inline MUDA_GENERIC muda::DenseMatrixViewBase::operator ConstView () const

function row

inline MUDA_GENERIC size_t muda::DenseMatrixViewBase::row () const

function viewer

MUDA_GENERIC ThisViewer muda::DenseMatrixViewBase::viewer () 

Protected Attributes Documentation

variable m_col

size_t muda::DenseMatrixViewBase< IsConst, Ty >::m_col;

variable m_row

size_t muda::DenseMatrixViewBase< IsConst, Ty >::m_row;

variable m_sym

bool muda::DenseMatrixViewBase< IsConst, Ty >::m_sym;

variable m_trans

bool muda::DenseMatrixViewBase< IsConst, Ty >::m_trans;

variable m_view

ThisBuffer2DView muda::DenseMatrixViewBase< IsConst, Ty >::m_view;


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