From 6f445b7e2bdb8481198f8c0f0e076d4fea081d62 Mon Sep 17 00:00:00 2001 From: MathieuCarriere Date: Wed, 18 Mar 2020 12:37:40 -0400 Subject: fix doc --- src/Simplex_tree/include/gudhi/Simplex_tree.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Simplex_tree/include/gudhi') diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h index 6c837042..697afe26 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h @@ -1484,12 +1484,12 @@ class Simplex_tree { /** \brief Retrieve good values for extended persistence, and separate the * diagrams into the ordinary, relative, extended+ and extended- subdiagrams. - * \pre This function should be called only if this->extend_filtration() has been called first! + * \pre This function should be called only if `extend_filtration()` has been called first! * \post The coordinates of the persistence diagram points might be a little different than the * original filtration values due to the internal transformation (scaling to [-2,-1]) that is * performed on these values during the computation of extended persistence. - * @param[in] dgm Persistence diagram obtained after calling this->extend_filtration(), - * this->initialize_filtration(), and Gudhi::persistent_cohomology::Persistent_cohomology::compute_persistent_cohomology(). + * @param[in] dgm Persistence diagram obtained after calling `extend_filtration()`, + * `initialize_filtration()`, and `Gudhi::persistent_cohomology::Persistent_cohomology< FilteredComplex, CoefficientField >::compute_persistent_cohomology()`. * @return A vector of four persistence diagrams. The first one is Ordinary, the * second one is Relative, the third one is Extended+ and the fourth one is Extended-. * See section 2.2 in https://link.springer.com/article/10.1007/s10208-017-9370-z for a description of these subtypes. @@ -1535,7 +1535,7 @@ class Simplex_tree { * and computes the extended persistence diagram induced by the lower-star filtration * computed with these values. * \post Note that after calling this function, the filtration - * values are actually modified. The function compute_extended_persistence_subdiagrams + * values are actually modified. The function `compute_extended_persistence_subdiagrams()` * retrieves the original values and separates the extended persistence diagram points * w.r.t. their types (Ord, Rel, Ext+, Ext-) and should always be called after * computing the persistent homology of the extended simplicial complex. @@ -1545,7 +1545,7 @@ class Simplex_tree { void extend_filtration() { // Compute maximum and minimum of filtration values - Vertex_handle maxvert = std::numeric_limits::min(); + Vertex_handle maxvert = std::numeric_limits::min(); this->minval_ = std::numeric_limits::infinity(); this->maxval_ = -std::numeric_limits::infinity(); for (auto sh = root_.members().begin(); sh != root_.members().end(); ++sh){ -- cgit v1.2.3