Gudhi::persistence_matrix::Column_dimension_holder< Master_matrix > Class Template Reference

Class managing the dimension access of a column. More...

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. More...
 
 Column_dimension_holder (const Column_dimension_holder &col)
 Copy constructor. More...
 
 Column_dimension_holder (Column_dimension_holder &&col)
 Move constructor. More...
 
dimension_type get_dimension () const
 Returns the dimension of the column. More...
 
Column_dimension_holderoperator= (const Column_dimension_holder &other)
 Assign operator.
 

Friends

void swap (Column_dimension_holder &col1, Column_dimension_holder &col2)
 Swap operator.
 

Detailed Description

template<class Master_matrix>
class Gudhi::persistence_matrix::Column_dimension_holder< Master_matrix >

Class managing the dimension access of a column.

Template Parameters
Master_matrixAn instanciation of Matrix from which all types and options are deduced.

Member Typedef Documentation

◆ dimension_type

template<class Master_matrix >
using Gudhi::persistence_matrix::Column_dimension_holder< Master_matrix >::dimension_type = typename Master_matrix::dimension_type

Dimension value type.

Constructor & Destructor Documentation

◆ Column_dimension_holder() [1/3]

template<class Master_matrix >
Gudhi::persistence_matrix::Column_dimension_holder< Master_matrix >::Column_dimension_holder ( dimension_type  dim)
inline

Constructor setting the dimension to the given value.

Parameters
dimDimension of the column.

◆ Column_dimension_holder() [2/3]

template<class Master_matrix >
Gudhi::persistence_matrix::Column_dimension_holder< Master_matrix >::Column_dimension_holder ( const Column_dimension_holder< Master_matrix > &  col)
inline

Copy constructor.

Parameters
colColumn to copy.

◆ Column_dimension_holder() [3/3]

template<class Master_matrix >
Gudhi::persistence_matrix::Column_dimension_holder< Master_matrix >::Column_dimension_holder ( Column_dimension_holder< Master_matrix > &&  col)
inline

Move constructor.

Parameters
colColumn to move.

Member Function Documentation

◆ get_dimension()

template<class Master_matrix >
dimension_type Gudhi::persistence_matrix::Column_dimension_holder< Master_matrix >::get_dimension ( ) const
inline

Returns the dimension of the column.

Returns
The dimension of the column.

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