Skip to content

Class muda::DenseMatrixViewT

template <bool IsConst, typename Ty>

ClassList > muda > DenseMatrixViewT

Inherits the following classes: muda::ViewBase

Public Types

Type Name
typedef Buffer2DView< Ty > Buffer2DView
typedef CBuffer2DView< Ty > CBuffer2DView
typedef CDenseMatrixViewer< Ty > CViewer
typedef DenseMatrixViewT< true, Ty > ConstView
typedef DenseMatrixViewT< false, Ty > NonConstView
typedef std::conditional_t< IsConst, CBuffer2DView, Buffer2DView > ThisBuffer2DView
typedef DenseMatrixViewT< 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
bool IsConst = = IsConst_
bool IsNonConst = = !IsConst_

Public Functions

Type Name
MUDA_GENERIC DenseMatrixViewT (ThisBuffer2DView view, size_t row, size_t col, bool trans=false, bool sym=false)
MUDA_GENERIC DenseMatrixViewT (const DenseMatrixViewT< OtherIsConst, Ty > & other)
MUDA_GENERIC auto T ()
MUDA_GENERIC auto as_const () const
MUDA_GENERIC auto buffer_view () const
MUDA_GENERIC size_t col () const
MUDA_GENERIC auto cviewer ()
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 size_t row () const
MUDA_GENERIC auto 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::DenseMatrixViewT< IsConst, Ty >::Buffer2DView =  Buffer2DView<Ty>;

typedef CBuffer2DView

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

typedef CViewer

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

typedef ConstView

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

typedef NonConstView

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

typedef ThisBuffer2DView

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

typedef ThisView

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

typedef ThisViewer

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

typedef Viewer

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

Public Functions Documentation

function DenseMatrixViewT [2/3]

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

function DenseMatrixViewT [3/3]

template<bool OtherIsConst>
inline MUDA_GENERIC muda::DenseMatrixViewT::DenseMatrixViewT (
    const DenseMatrixViewT < OtherIsConst, Ty > & other
) 

function T

inline MUDA_GENERIC auto muda::DenseMatrixViewT::T () 

function as_const

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

function buffer_view

inline MUDA_GENERIC auto muda::DenseMatrixViewT::buffer_view () const

function col

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

function cviewer

inline MUDA_GENERIC auto muda::DenseMatrixViewT::cviewer () 

function data

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

function is_sym

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

function is_trans

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

function lda

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

function row

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

function viewer

inline MUDA_GENERIC auto muda::DenseMatrixViewT::viewer () 

Protected Attributes Documentation

variable m_col

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

variable m_row

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

variable m_sym

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

variable m_trans

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

variable m_view

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


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