Class muda::DenseMatrixViewerBase
template <bool IsConst, typename T>
ClassList > muda > DenseMatrixViewerBase
Inherits the following classes: muda::ViewerBase
Public Types
Type | Name |
---|---|
typedef Buffer2DView< T > | Buffer2DView |
typedef CBuffer2DView< T > | CBuffer2DView |
typedef MapMatrixT< const MatrixType > | CMapMatrix |
typedef DenseMatrixViewerBase< true, T > | ConstViewer |
typedef MapMatrixT< MatrixType > | MapMatrix |
typedef Eigen::Map< U, Eigen::AlignmentType::Unaligned, Eigen::Stride< Eigen::Dynamic, Eigen::Dynamic > > | MapMatrixT |
typedef Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > | MatrixType |
typedef DenseMatrixViewerBase< false, T > | NonConstViewer |
typedef std::conditional_t< IsConst, CBuffer2DView, Buffer2DView > | ThisBuffer2DView |
typedef std::conditional_t< IsConst, CMapMatrix, MapMatrix > | ThisMapMatrix |
typedef std::conditional_t< IsConst, ConstViewer, NonConstViewer > | ThisViewer |
Public Static Attributes inherited from muda::ViewerBase
See muda::ViewerBase
Type | Name |
---|---|
constexpr bool | IsConst = = IsConst_ |
constexpr bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | DenseMatrixViewerBase (ThisBuffer2DView view, size_t row_offset, size_t col_offset, size_t row_size, size_t col_size) |
MUDA_GENERIC auto | as_const () const |
MUDA_GENERIC Eigen::Block< ThisMapMatrix > | as_eigen () |
MUDA_GENERIC Eigen::Block< CMapMatrix > | as_eigen () const |
MUDA_GENERIC ThisViewer | block (size_t row_offset, size_t col_offset, size_t row_size, size_t col_size) |
MUDA_GENERIC ThisViewer | block (int row_offset, int col_offset) |
MUDA_GENERIC ConstViewer | block (size_t row_offset, size_t col_offset, size_t row_size, size_t col_size) const |
MUDA_GENERIC ConstViewer | block (int row_offset, int col_offset) const |
MUDA_GENERIC auto | buffer_view () |
MUDA_GENERIC auto | buffer_view () const |
MUDA_GENERIC size_t | col () const |
MUDA_GENERIC auto | col_offset () const |
MUDA_GENERIC | operator ConstViewer () const |
MUDA_GENERIC | Block< CMapMatrix > () |
MUDA_GENERIC | Block< CMapMatrix > () const |
MUDA_GENERIC auto_const_t< T > & | operator() (size_t i, size_t j) |
MUDA_GENERIC const T & | operator() (size_t i, size_t j) const |
MUDA_GENERIC size_t | origin_col () const |
MUDA_GENERIC size_t | origin_row () const |
MUDA_GENERIC size_t | row () const |
MUDA_GENERIC auto | row_offset () const |
Public Functions inherited from muda::ViewerBase
See muda::ViewerBase
Type | Name |
---|---|
MUDA_GENERIC | ViewerBase () |
ViewerBase (const ViewerBase &) = default |
|
ViewerBase (ViewerBase &&) = default |
|
MUDA_INLINE MUDA_GENERIC void | copy_label (const ViewerBase & other) |
MUDA_GENERIC const char * | kernel_file () const |
MUDA_GENERIC int | kernel_line () const |
MUDA_GENERIC const char * | kernel_name () const |
MUDA_GENERIC const char * | name () const |
ViewerBase & | operator= (const ViewerBase &) = default |
ViewerBase & | operator= (ViewerBase &&) = default |
Protected Types inherited from muda::ViewerBase
See muda::ViewerBase
Type | Name |
---|---|
typedef std::conditional_t< IsConst, const T, T > | auto_const_t |
typedef std::enable_if_t< IsNonConst, T > | non_const_enable_t |
Protected Attributes
Type | Name |
---|---|
size_t | m_col_offset = = 0 |
size_t | m_col_size = = 0 |
size_t | m_row_offset = = 0 |
size_t | m_row_size = = 0 |
ThisBuffer2DView | m_view |
Protected Functions inherited from muda::ViewerBase
See muda::ViewerBase
Type | Name |
---|---|
MUDA_INLINE MUDA_HOST void | name (const char * n) |
MUDA_INLINE MUDA_GENERIC void | name (details::StringPointer pointer) |
Public Types Documentation
typedef Buffer2DView
typedef CBuffer2DView
typedef CMapMatrix
typedef ConstViewer
typedef MapMatrix
typedef MapMatrixT
using muda::DenseMatrixViewerBase< IsConst, T >::MapMatrixT = Eigen::Map<U, Eigen::AlignmentType::Unaligned, Eigen::Stride<Eigen::Dynamic, Eigen::Dynamic> >;
typedef MatrixType
using muda::DenseMatrixViewerBase< IsConst, T >::MatrixType = Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor>;
typedef NonConstViewer
typedef ThisBuffer2DView
using muda::DenseMatrixViewerBase< IsConst, T >::ThisBuffer2DView = std::conditional_t<IsConst, CBuffer2DView, Buffer2DView>;
typedef ThisMapMatrix
using muda::DenseMatrixViewerBase< IsConst, T >::ThisMapMatrix = std::conditional_t<IsConst, CMapMatrix, MapMatrix>;
typedef ThisViewer
using muda::DenseMatrixViewerBase< IsConst, T >::ThisViewer = std::conditional_t<IsConst, ConstViewer, NonConstViewer>;
Public Functions Documentation
function DenseMatrixViewerBase
inline MUDA_GENERIC muda::DenseMatrixViewerBase::DenseMatrixViewerBase (
ThisBuffer2DView view,
size_t row_offset,
size_t col_offset,
size_t row_size,
size_t col_size
)
function as_const
function as_eigen [1/2]
function as_eigen [2/2]
function block [1/4]
MUDA_GENERIC ThisViewer muda::DenseMatrixViewerBase::block (
size_t row_offset,
size_t col_offset,
size_t row_size,
size_t col_size
)
function block [2/4]
template<int M, int N>
inline MUDA_GENERIC ThisViewer muda::DenseMatrixViewerBase::block (
int row_offset,
int col_offset
)
function block [3/4]
inline MUDA_GENERIC ConstViewer muda::DenseMatrixViewerBase::block (
size_t row_offset,
size_t col_offset,
size_t row_size,
size_t col_size
) const
function block [4/4]
template<int M, int N>
inline MUDA_GENERIC ConstViewer muda::DenseMatrixViewerBase::block (
int row_offset,
int col_offset
) const
function buffer_view [1/2]
function buffer_view [2/2]
function col
function col_offset
function operator ConstViewer
function Block< CMapMatrix > [1/2]
function Block< CMapMatrix > [2/2]
function operator() [1/2]
function operator() [2/2]
function origin_col
function origin_row
function row
function row_offset
Protected Attributes Documentation
variable m_col_offset
variable m_col_size
variable m_row_offset
variable m_row_size
variable m_view
The documentation for this class was generated from the following file src/muda/ext/linear_system/dense_matrix_viewer.h