This file contain an implementation of some common procedures used in the Persistence_representations module. More...
Go to the source code of this file.
Namespaces | |
| namespace | Gudhi |
| Gudhi namespace. | |
Typedefs | |
| using | Gudhi::Persistence_representations::Persistence_diagram = std::vector<std::pair<double, double> > |
Functions | |
| bool | Gudhi::Persistence_representations::almost_equal (double a, double b) |
| std::pair< double, double > | Gudhi::Persistence_representations::compute_parameters_of_a_line (const std::pair< double, double > &p1, const std::pair< double, double > &p2) |
| double | Gudhi::Persistence_representations::find_zero_of_a_line_segment_between_those_two_points (const std::pair< double, double > &p1, const std::pair< double, double > &p2) |
| double | Gudhi::Persistence_representations::function_value (const std::pair< double, double > &p1, const std::pair< double, double > &p2, double x) |
Variables | |
| constexpr double | Gudhi::Persistence_representations::pi = boost::math::constants::pi<double>() |
| double | Gudhi::Persistence_representations::epsi = 0.000005 |
This file contain an implementation of some common procedures used in the Persistence_representations module.
|
inline |
This procedure, given two points which lies on the opposite sides of the \( x \)-axis, computes the value of \( x \) for which the line connecting those two points crosses the \( x \)-axis.