pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::PersistencePair Struct Reference

One feature of a persistence diagram. More...

#include <persistence_diagram.hpp>

Public Member Functions

double persistence () const
 death - birth: how long it lasts; infinity for an essential feature.
 
bool essential () const
 Whether it never dies.
 

Public Attributes

double birth = 0
 The scale at which the feature appears.
 
double death = std::numeric_limits<double>::infinity()
 The scale at which it disappears; infinity for a feature that never does, such as the one component left at the end.
 

Detailed Description

One feature of a persistence diagram.

Member Function Documentation

◆ essential()

bool pulsatrix::PersistencePair::essential ( ) const
inline

Whether it never dies.

◆ persistence()

double pulsatrix::PersistencePair::persistence ( ) const
inline

death - birth: how long it lasts; infinity for an essential feature.

Member Data Documentation

◆ birth

double pulsatrix::PersistencePair::birth = 0

The scale at which the feature appears.

◆ death

double pulsatrix::PersistencePair::death = std::numeric_limits<double>::infinity()

The scale at which it disappears; infinity for a feature that never does, such as the one component left at the end.


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