Gudhi::persistence_matrix::Matrix_all_dimension_holder< dimension_type > Class Template Reference

Class managing the maximal dimension of a face represented in the inheritating matrix, when the option of face removal is enabled. More...

Public Member Functions

 Matrix_all_dimension_holder (dimension_type maximalDimension=-1)
 Default constructor. If a dimension is specified, stores it as the maximal value. More...
 
 Matrix_all_dimension_holder (const Matrix_all_dimension_holder &toCopy)
 Copy constructor. More...
 
 Matrix_all_dimension_holder (Matrix_all_dimension_holder &&other) noexcept
 Move constructor. More...
 
dimension_type get_max_dimension () const
 Returns the maximal dimension of a face represented in the matrix. More...
 
Matrix_all_dimension_holderoperator= (Matrix_all_dimension_holder other)
 Assign operator.
 

Friends

void swap (Matrix_all_dimension_holder &matrix1, Matrix_all_dimension_holder &matrix2)
 Swap operator.
 

Detailed Description

template<typename dimension_type>
class Gudhi::persistence_matrix::Matrix_all_dimension_holder< dimension_type >

Class managing the maximal dimension of a face represented in the inheritating matrix, when the option of face removal is enabled.

Template Parameters
dimension_typeDimension value type. Has to be an integer type. If unsigned, the maximal value of the type should not be attained during a run.

Constructor & Destructor Documentation

◆ Matrix_all_dimension_holder() [1/3]

template<typename dimension_type >
Gudhi::persistence_matrix::Matrix_all_dimension_holder< dimension_type >::Matrix_all_dimension_holder ( dimension_type  maximalDimension = -1)
inline

Default constructor. If a dimension is specified, stores it as the maximal value.

Parameters
maximalDimensionValue of the maximal dimension. Has to be either positive or -1. Default value: -1.

◆ Matrix_all_dimension_holder() [2/3]

template<typename dimension_type >
Gudhi::persistence_matrix::Matrix_all_dimension_holder< dimension_type >::Matrix_all_dimension_holder ( const Matrix_all_dimension_holder< dimension_type > &  toCopy)
inline

Copy constructor.

Parameters
toCopyMatrix to copy.

◆ Matrix_all_dimension_holder() [3/3]

template<typename dimension_type >
Gudhi::persistence_matrix::Matrix_all_dimension_holder< dimension_type >::Matrix_all_dimension_holder ( Matrix_all_dimension_holder< dimension_type > &&  other)
inlinenoexcept

Move constructor.

Parameters
otherMatrix to move.

Member Function Documentation

◆ get_max_dimension()

template<typename dimension_type >
dimension_type Gudhi::persistence_matrix::Matrix_all_dimension_holder< dimension_type >::get_max_dimension ( ) const
inline

Returns the maximal dimension of a face represented in the matrix.

Returns
The maximal dimension.

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