Class managing the dimension access of a column. More...
#include <gudhi/Persistence_matrix/columns/column_dimension_holder.h>
Public Types | |
| using | dimension_type = typename Master_matrix::dimension_type |
Public Member Functions | |
| Column_dimension_holder () | |
| Default constructor. Sets the dimension to 0 for boundary matrices and to -1 for chain matrices. | |
| Column_dimension_holder (dimension_type dim) | |
| Constructor setting the dimension to the given value. | |
| Column_dimension_holder (const Column_dimension_holder &col) | |
| Copy constructor. | |
| Column_dimension_holder (Column_dimension_holder &&col) | |
| Move constructor. | |
| dimension_type | get_dimension () const |
| Returns the dimension of the column. | |
| 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 instanciation of Matrix from which all types and options are deduced. |
| using Gudhi::persistence_matrix::Column_dimension_holder< Master_matrix >::dimension_type = typename Master_matrix::dimension_type |
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.