Class managing the dimension access of a column. More...
#include <gudhi/Persistence_matrix/columns/column_dimension_holder.h>
Public Types | |
| using | Dimension = typename Master_matrix::Dimension |
Public Member Functions | |
| Column_dimension_holder () | |
| Default constructor. Sets the dimension to 0 for boundary matrices and to null index for chain matrices. | |
| Column_dimension_holder (Dimension dim) | |
| Constructor setting the dimension to the given value. More... | |
| Column_dimension_holder (const Column_dimension_holder &col) | |
| Copy constructor. More... | |
| Column_dimension_holder (Column_dimension_holder &&col) | |
| Move constructor. More... | |
| Dimension | get_dimension () const |
| Returns the dimension of the column. More... | |
| Column_dimension_holder & | operator= (const Column_dimension_holder &other) |
| Assign operator. | |
Friends | |
| void | swap (Column_dimension_holder &col1, Column_dimension_holder &col2) |
| Swap operator. | |
Class managing the dimension access of a column.
| Master_matrix | An instantiation of Matrix from which all types and options are deduced. |
| using Gudhi::persistence_matrix::Column_dimension_holder< Master_matrix >::Dimension = typename Master_matrix::Dimension |
Dimension value type.
|
inline |
Constructor setting the dimension to the given value.
| dim | Dimension of the column. |
|
inline |
Copy constructor.
| col | Column to copy. |
|
inline |
Move constructor.
| col | Column to move. |
|
inline |
Returns the dimension of the column.