summaryrefslogtreecommitdiff
path: root/src/cython/gudhi/simplex_tree.pxd
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-08-02 11:25:52 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2019-08-02 11:25:52 +0200
commit003e9b3e127a3f34c03872b0cc314d0dcbc04bcf (patch)
tree32c1120bdbaa69cadeae7845be0daa76503fc459 /src/cython/gudhi/simplex_tree.pxd
parent0a4a42e38dffaea03083e39e5eafed2e1f32ff05 (diff)
First version that compiles the simplex_tree module
Diffstat (limited to 'src/cython/gudhi/simplex_tree.pxd')
-rw-r--r--src/cython/gudhi/simplex_tree.pxd10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cython/gudhi/simplex_tree.pxd b/src/cython/gudhi/simplex_tree.pxd
index 25051295..5f86cfe2 100644
--- a/src/cython/gudhi/simplex_tree.pxd
+++ b/src/cython/gudhi/simplex_tree.pxd
@@ -44,3 +44,13 @@ cdef extern from "Simplex_tree_interface.h" namespace "Gudhi":
void remove_maximal_simplex(vector[int] simplex)
bool prune_above_filtration(double filtration)
bool make_filtration_non_decreasing()
+
+cdef extern from "Persistent_cohomology_interface.h" namespace "Gudhi":
+ cdef cppclass Simplex_tree_persistence_interface "Gudhi::Persistent_cohomology_interface<Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_full_featured>>":
+ Simplex_tree_persistence_interface(Simplex_tree_interface_full_featured * st, bool persistence_dim_max)
+ vector[pair[int, pair[double, double]]] get_persistence(int homology_coeff_field, double min_persistence)
+ vector[int] betti_numbers()
+ vector[int] persistent_betti_numbers(double from_value, double to_value)
+ vector[pair[double,double]] intervals_in_dimension(int dimension)
+ void write_output_diagram(string diagram_file_name)
+ vector[pair[vector[int], vector[int]]] persistence_pairs()