Class muda::TripletMatrixViewT
template <bool IsConst, typename Ty, int N>
ClassList > muda > TripletMatrixViewT
Inherits the following classes: muda::ViewBase
Public Types
Type | Name |
---|---|
typedef Eigen::Matrix< Ty, N, N > | BlockMatrix |
typedef TripletMatrixViewT< true, Ty, N > | ConstView |
typedef TripletMatrixViewT< false, Ty, N > | NonConstView |
typedef TripletMatrixViewT< 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 |
---|---|
bool | IsConst = = IsConst_ |
bool | IsNonConst = = !IsConst_ |
Public Functions
Type | Name |
---|---|
MUDA_GENERIC | TripletMatrixViewT () = default |
MUDA_GENERIC | TripletMatrixViewT (int total_block_rows, int total_block_cols, int triplet_index_offset, int triplet_count, int total_triplet_count, int2 submatrix_offset, int2 submatrix_extent, auto_const_t< int > * block_row_indices, auto_const_t< int > * block_col_indices, auto_const_t< BlockMatrix > * block_values) |
MUDA_GENERIC | TripletMatrixViewT (int total_block_rows, int total_block_cols, int total_triplet_count, auto_const_t< int > * block_row_indices, auto_const_t< int > * block_col_indices, auto_const_t< BlockMatrix > * block_values) |
MUDA_GENERIC | TripletMatrixViewT (const TripletMatrixViewT< OtherIsConst, Ty, N > & other) |
MUDA_GENERIC ConstView | as_const () const |
MUDA_GENERIC auto | cviewer () const |
MUDA_GENERIC auto | extent () const |
MUDA_GENERIC auto | submatrix (int2 offset, int2 extent) const |
MUDA_GENERIC auto | submatrix_offset () const |
MUDA_GENERIC auto | subview (int offset, int count) const |
MUDA_GENERIC auto | subview (int offset) const |
MUDA_GENERIC auto | total_block_cols () const |
MUDA_GENERIC auto | total_block_rows () const |
MUDA_GENERIC auto | total_extent () const |
MUDA_GENERIC auto | total_triplet_count () const |
MUDA_GENERIC auto | tripet_index_offset () const |
MUDA_GENERIC auto | triplet_count () const |
MUDA_GENERIC auto | viewer () const |
Protected Attributes
Type | Name |
---|---|
auto_const_t< int > * | m_block_col_indices = = nullptr |
auto_const_t< int > * | m_block_row_indices = = nullptr |
auto_const_t< BlockMatrix > * | m_block_values = = nullptr |
int2 | m_submatrix_extent = = {0, 0} |
int2 | m_submatrix_offset = = {0, 0} |
int | m_total_block_cols = = 0 |
int | m_total_block_rows = = 0 |
int | m_total_triplet_count = = 0 |
int | m_triplet_count = = 0 |
int | m_triplet_index_offset = = 0 |
Public Types Documentation
typedef BlockMatrix
typedef ConstView
typedef NonConstView
typedef ThisView
Public Functions Documentation
function TripletMatrixViewT [2/5]
function TripletMatrixViewT [3/5]
inline MUDA_GENERIC muda::TripletMatrixViewT::TripletMatrixViewT (
int total_block_rows,
int total_block_cols,
int triplet_index_offset,
int triplet_count,
int total_triplet_count,
int2 submatrix_offset,
int2 submatrix_extent,
auto_const_t< int > * block_row_indices,
auto_const_t< int > * block_col_indices,
auto_const_t< BlockMatrix > * block_values
)
function TripletMatrixViewT [4/5]
inline MUDA_GENERIC muda::TripletMatrixViewT::TripletMatrixViewT (
int total_block_rows,
int total_block_cols,
int total_triplet_count,
auto_const_t< int > * block_row_indices,
auto_const_t< int > * block_col_indices,
auto_const_t< BlockMatrix > * block_values
)
function TripletMatrixViewT [5/5]
template<bool OtherIsConst>
inline MUDA_GENERIC muda::TripletMatrixViewT::TripletMatrixViewT (
const TripletMatrixViewT < OtherIsConst, Ty, N > & other
)
function as_const
function cviewer
function extent
function submatrix
function submatrix_offset
function subview [1/2]
function subview [2/2]
function total_block_cols
function total_block_rows
function total_extent
function total_triplet_count
function tripet_index_offset
function triplet_count
function viewer
Protected Attributes Documentation
variable m_block_col_indices
variable m_block_row_indices
variable m_block_values
variable m_submatrix_extent
variable m_submatrix_offset
variable m_total_block_cols
variable m_total_block_rows
variable m_total_triplet_count
variable m_triplet_count
variable m_triplet_index_offset
The documentation for this class was generated from the following file src/muda/ext/linear_system/triplet_matrix_view.h