RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
Basic "Row" of the matrix, this stores the elements of the matrix in a line-oriented way. More...
#include <matrix.h>
Public Types | |
using | Element = ElementImpl< T > |
Public Member Functions | |
RowImpl () | |
void | set_element (index_t j, const T &value) |
void | push_element (index_t j, const T &value) |
index_t | find (index_t j) const |
bool | exist (index_t j) |
std::tuple< bool, T > | get_element (index_t j) const |
T | element (index_t e) const |
index_t | index (index_t e) const |
T & | operator[] (index_t i) const |
index_t | nb_elements () const |
Private Member Functions | |
void | reallocate (index_t new_capacity) |
void | grow () |
Private Attributes | |
std::unique_ptr< Element[] > | elements_ {} |
index_t | nb_elements_ { 0 } |
index_t | capacity_ { 4 } |
Basic "Row" of the matrix, this stores the elements of the matrix in a line-oriented way.
using RINGMesh::RowImpl< T >::Element = ElementImpl< T > |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
private |
|
private |
|
private |