RINGMesh  Version 5.0.0
A programming library for geological model meshes
RINGMesh::SparseMatrix< T, Light > Class Template Reference

#include <matrix.h>

Inheritance diagram for RINGMesh::SparseMatrix< T, Light >:
RINGMesh::SparseMatrixImpl< T, T >

Additional Inherited Members

- Public Types inherited from RINGMesh::SparseMatrixImpl< T, T >
using Row = RowImpl< T >
 
- Public Member Functions inherited from RINGMesh::SparseMatrixImpl< T, T >
 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)
 
get_element_in_line (index_t i, index_t e) const
 
- Protected Attributes inherited from RINGMesh::SparseMatrixImpl< T, T >
std::unique_ptr< Row[] > rows_
 
index_t ni_
 
index_t nj_
 
bool is_symmetrical_
 

Detailed Description

template<typename T, MatrixType Light = MatrixType( 2 * sizeof( T ) <= 2 * sizeof( index_t ) + sizeof( T ) )>
class RINGMesh::SparseMatrix< T, Light >

declaration of a template class SparseMatrix, it will be specialazed for the different MatrixType

Definition at line 332 of file matrix.h.


The documentation for this class was generated from the following file: