Class muda::BSRMatrixViewBase
template <bool IsConst, typename Ty, int N>
ClassList > muda > BSRMatrixViewBase
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef Eigen::Matrix< Ty, N, N > | BlockMatrix |
typedef BSRMatrixViewBase< true, Ty, N > | ConstView |
typedef BSRMatrixViewBase< false, Ty, N > | NonConstView |
typedef BSRMatrixViewBase< IsConst, Ty, N > | ThisView |
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 |
---|---|
BSRMatrixViewBase () = default |
|
BSRMatrixViewBase (int row, int col, auto_const_t< int > * block_row_offsets, auto_const_t< int > * block_col_indices, auto_const_t< BlockMatrix > * block_values, int non_zeros, cusparseSpMatDescr_t descr, cusparseMatDescr_t legacy_descr, bool trans) |
|
auto | T () const |
ConstView | as_const () const |
auto_const_t< int > * | block_col_indices () |
auto | block_col_indices () const |
auto | block_cols () const |
auto_const_t< int > * | block_row_offsets () |
auto | block_row_offsets () const |
auto | block_rows () const |
auto_const_t< BlockMatrix > * | block_values () |
auto | block_values () const |
auto | descr () const |
auto | is_trans () const |
auto | legacy_descr () const |
auto | non_zero_blocks () const |
operator ConstView () const |
Protected Attributes
Type | Name |
---|---|
auto_const_t< int > * | m_block_col_indices = = nullptr |
auto_const_t< int > * | m_block_row_offsets = = nullptr |
auto_const_t< BlockMatrix > * | m_block_values = = nullptr |
int | m_col = = 0 |
cusparseSpMatDescr_t | m_descr = = nullptr |
cusparseMatDescr_t | m_legacy_descr = = nullptr |
int | m_non_zeros = = 0 |
int | m_row = = 0 |
bool | m_trans = = false |
Public Types Documentation
typedef BlockMatrix
typedef ConstView
typedef NonConstView
typedef ThisView
Public Functions Documentation
function BSRMatrixViewBase [1/2]
function BSRMatrixViewBase [2/2]
inline muda::BSRMatrixViewBase::BSRMatrixViewBase (
int row,
int col,
auto_const_t< int > * block_row_offsets,
auto_const_t< int > * block_col_indices,
auto_const_t< BlockMatrix > * block_values,
int non_zeros,
cusparseSpMatDescr_t descr,
cusparseMatDescr_t legacy_descr,
bool trans
)
function T
function as_const
function block_col_indices [1/2]
function block_col_indices [2/2]
function block_cols
function block_row_offsets [1/2]
function block_row_offsets [2/2]
function block_rows
function block_values [1/2]
function block_values [2/2]
function descr
function is_trans
function legacy_descr
function non_zero_blocks
function operator ConstView
Protected Attributes Documentation
variable m_block_col_indices
variable m_block_row_offsets
variable m_block_values
variable m_col
variable m_descr
variable m_legacy_descr
variable m_non_zeros
variable m_row
variable m_trans
The documentation for this class was generated from the following file src/muda/ext/linear_system/bsr_matrix_view.h