RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
This is the parent class for sparse matrices, the main difference between light and heavy type matrices depend on the contents of rows elements: Light will contain type T objects, while heavy an index to access a std::deque. More...
#include <matrix.h>
Public Types | |
using | Row = RowImpl< RowType > |
Public Member Functions | |
SparseMatrixImpl (bool is_symmetrical=false) | |
~SparseMatrixImpl ()=default | |
bool | exist (index_t i, index_t j) const |
index_t | get_nb_elements_in_line (index_t i) const |
gets number of elements within a row More... | |
index_t | get_column_in_line (index_t i, index_t e) const |
gets the j that correspond to the given index within the row More... | |
std::tuple< bool, index_t > | get_index_in_line (index_t i, index_t j) const |
gets the rows_ index corresponding to a given i-j couple More... | |
index_t | ni () const |
index_t | nj () const |
bool | is_symmetrical () const |
void | build_matrix (index_t ni, index_t nj) |
T | get_element_in_line (index_t i, index_t e) const |
Protected Attributes | |
std::unique_ptr< Row[] > | rows_ {} |
index_t | ni_ { 0 } |
index_t | nj_ { 0 } |
bool | is_symmetrical_ |
Private Member Functions | |
ringmesh_disable_copy_and_move (SparseMatrixImpl) | |
This is the parent class for sparse matrices, the main difference between light and heavy type matrices depend on the contents of rows elements: Light will contain type T objects, while heavy an index to access a std::deque.
using RINGMesh::SparseMatrixImpl< T, RowType >::Row = RowImpl< RowType > |
|
inlineexplicit |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |