multipers 2.2.3__cp311-cp311-win_amd64.whl → 2.3.1__cp311-cp311-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of multipers might be problematic. Click here for more details.
- multipers/__init__.py +33 -31
- multipers/_signed_measure_meta.py +430 -430
- multipers/_slicer_meta.py +211 -212
- multipers/data/MOL2.py +458 -458
- multipers/data/UCR.py +18 -18
- multipers/data/graphs.py +466 -466
- multipers/data/immuno_regions.py +27 -27
- multipers/data/pytorch2simplextree.py +90 -90
- multipers/data/shape3d.py +101 -101
- multipers/data/synthetic.py +113 -111
- multipers/distances.py +198 -198
- multipers/filtration_conversions.pxd.tp +84 -84
- multipers/filtrations/__init__.py +18 -0
- multipers/{ml/convolutions.py → filtrations/density.py} +563 -520
- multipers/filtrations/filtrations.py +289 -0
- multipers/filtrations.pxd +224 -224
- multipers/function_rips.cp311-win_amd64.pyd +0 -0
- multipers/function_rips.pyx +105 -105
- multipers/grids.cp311-win_amd64.pyd +0 -0
- multipers/grids.pyx +350 -350
- multipers/gudhi/Persistence_slices_interface.h +132 -132
- multipers/gudhi/Simplex_tree_interface.h +239 -245
- multipers/gudhi/Simplex_tree_multi_interface.h +516 -561
- multipers/gudhi/cubical_to_boundary.h +59 -59
- multipers/gudhi/gudhi/Bitmap_cubical_complex.h +450 -450
- multipers/gudhi/gudhi/Bitmap_cubical_complex_base.h +1070 -1070
- multipers/gudhi/gudhi/Bitmap_cubical_complex_periodic_boundary_conditions_base.h +579 -579
- multipers/gudhi/gudhi/Debug_utils.h +45 -45
- multipers/gudhi/gudhi/Fields/Multi_field.h +484 -484
- multipers/gudhi/gudhi/Fields/Multi_field_operators.h +455 -455
- multipers/gudhi/gudhi/Fields/Multi_field_shared.h +450 -450
- multipers/gudhi/gudhi/Fields/Multi_field_small.h +531 -531
- multipers/gudhi/gudhi/Fields/Multi_field_small_operators.h +507 -507
- multipers/gudhi/gudhi/Fields/Multi_field_small_shared.h +531 -531
- multipers/gudhi/gudhi/Fields/Z2_field.h +355 -355
- multipers/gudhi/gudhi/Fields/Z2_field_operators.h +376 -376
- multipers/gudhi/gudhi/Fields/Zp_field.h +420 -420
- multipers/gudhi/gudhi/Fields/Zp_field_operators.h +400 -400
- multipers/gudhi/gudhi/Fields/Zp_field_shared.h +418 -418
- multipers/gudhi/gudhi/Flag_complex_edge_collapser.h +337 -337
- multipers/gudhi/gudhi/Matrix.h +2107 -2107
- multipers/gudhi/gudhi/Multi_critical_filtration.h +1038 -1038
- multipers/gudhi/gudhi/Multi_persistence/Box.h +171 -171
- multipers/gudhi/gudhi/Multi_persistence/Line.h +282 -282
- multipers/gudhi/gudhi/Off_reader.h +173 -173
- multipers/gudhi/gudhi/One_critical_filtration.h +1433 -1431
- multipers/gudhi/gudhi/Persistence_matrix/Base_matrix.h +769 -769
- multipers/gudhi/gudhi/Persistence_matrix/Base_matrix_with_column_compression.h +686 -686
- multipers/gudhi/gudhi/Persistence_matrix/Boundary_matrix.h +842 -842
- multipers/gudhi/gudhi/Persistence_matrix/Chain_matrix.h +1350 -1350
- multipers/gudhi/gudhi/Persistence_matrix/Id_to_index_overlay.h +1105 -1105
- multipers/gudhi/gudhi/Persistence_matrix/Position_to_index_overlay.h +859 -859
- multipers/gudhi/gudhi/Persistence_matrix/RU_matrix.h +910 -910
- multipers/gudhi/gudhi/Persistence_matrix/allocators/entry_constructors.h +139 -139
- multipers/gudhi/gudhi/Persistence_matrix/base_pairing.h +230 -230
- multipers/gudhi/gudhi/Persistence_matrix/base_swap.h +211 -211
- multipers/gudhi/gudhi/Persistence_matrix/boundary_cell_position_to_id_mapper.h +60 -60
- multipers/gudhi/gudhi/Persistence_matrix/boundary_face_position_to_id_mapper.h +60 -60
- multipers/gudhi/gudhi/Persistence_matrix/chain_pairing.h +136 -136
- multipers/gudhi/gudhi/Persistence_matrix/chain_rep_cycles.h +190 -190
- multipers/gudhi/gudhi/Persistence_matrix/chain_vine_swap.h +616 -616
- multipers/gudhi/gudhi/Persistence_matrix/columns/chain_column_extra_properties.h +150 -150
- multipers/gudhi/gudhi/Persistence_matrix/columns/column_dimension_holder.h +106 -106
- multipers/gudhi/gudhi/Persistence_matrix/columns/column_utilities.h +219 -219
- multipers/gudhi/gudhi/Persistence_matrix/columns/entry_types.h +327 -327
- multipers/gudhi/gudhi/Persistence_matrix/columns/heap_column.h +1140 -1140
- multipers/gudhi/gudhi/Persistence_matrix/columns/intrusive_list_column.h +934 -934
- multipers/gudhi/gudhi/Persistence_matrix/columns/intrusive_set_column.h +934 -934
- multipers/gudhi/gudhi/Persistence_matrix/columns/list_column.h +980 -980
- multipers/gudhi/gudhi/Persistence_matrix/columns/naive_vector_column.h +1092 -1092
- multipers/gudhi/gudhi/Persistence_matrix/columns/row_access.h +192 -192
- multipers/gudhi/gudhi/Persistence_matrix/columns/set_column.h +921 -921
- multipers/gudhi/gudhi/Persistence_matrix/columns/small_vector_column.h +1093 -1093
- multipers/gudhi/gudhi/Persistence_matrix/columns/unordered_set_column.h +1012 -1012
- multipers/gudhi/gudhi/Persistence_matrix/columns/vector_column.h +1244 -1244
- multipers/gudhi/gudhi/Persistence_matrix/matrix_dimension_holders.h +186 -186
- multipers/gudhi/gudhi/Persistence_matrix/matrix_row_access.h +164 -164
- multipers/gudhi/gudhi/Persistence_matrix/ru_pairing.h +156 -156
- multipers/gudhi/gudhi/Persistence_matrix/ru_rep_cycles.h +376 -376
- multipers/gudhi/gudhi/Persistence_matrix/ru_vine_swap.h +540 -540
- multipers/gudhi/gudhi/Persistent_cohomology/Field_Zp.h +118 -118
- multipers/gudhi/gudhi/Persistent_cohomology/Multi_field.h +173 -173
- multipers/gudhi/gudhi/Persistent_cohomology/Persistent_cohomology_column.h +128 -128
- multipers/gudhi/gudhi/Persistent_cohomology.h +745 -745
- multipers/gudhi/gudhi/Points_off_io.h +171 -171
- multipers/gudhi/gudhi/Simple_object_pool.h +69 -69
- multipers/gudhi/gudhi/Simplex_tree/Simplex_tree_iterators.h +463 -463
- multipers/gudhi/gudhi/Simplex_tree/Simplex_tree_node_explicit_storage.h +83 -83
- multipers/gudhi/gudhi/Simplex_tree/Simplex_tree_siblings.h +106 -106
- multipers/gudhi/gudhi/Simplex_tree/Simplex_tree_star_simplex_iterators.h +277 -277
- multipers/gudhi/gudhi/Simplex_tree/hooks_simplex_base.h +62 -62
- multipers/gudhi/gudhi/Simplex_tree/indexing_tag.h +27 -27
- multipers/gudhi/gudhi/Simplex_tree/serialization_utils.h +62 -62
- multipers/gudhi/gudhi/Simplex_tree/simplex_tree_options.h +157 -157
- multipers/gudhi/gudhi/Simplex_tree.h +2794 -2794
- multipers/gudhi/gudhi/Simplex_tree_multi.h +152 -163
- multipers/gudhi/gudhi/distance_functions.h +62 -62
- multipers/gudhi/gudhi/graph_simplicial_complex.h +104 -104
- multipers/gudhi/gudhi/persistence_interval.h +253 -253
- multipers/gudhi/gudhi/persistence_matrix_options.h +170 -170
- multipers/gudhi/gudhi/reader_utils.h +367 -367
- multipers/gudhi/mma_interface_coh.h +256 -255
- multipers/gudhi/mma_interface_h0.h +223 -231
- multipers/gudhi/mma_interface_matrix.h +291 -282
- multipers/gudhi/naive_merge_tree.h +536 -575
- multipers/gudhi/scc_io.h +310 -289
- multipers/gudhi/truc.h +957 -888
- multipers/io.cp311-win_amd64.pyd +0 -0
- multipers/io.pyx +714 -711
- multipers/ml/accuracies.py +90 -90
- multipers/ml/invariants_with_persistable.py +79 -79
- multipers/ml/kernels.py +176 -176
- multipers/ml/mma.py +713 -714
- multipers/ml/one.py +472 -472
- multipers/ml/point_clouds.py +352 -346
- multipers/ml/signed_measures.py +1589 -1589
- multipers/ml/sliced_wasserstein.py +461 -461
- multipers/ml/tools.py +113 -113
- multipers/mma_structures.cp311-win_amd64.pyd +0 -0
- multipers/mma_structures.pxd +127 -127
- multipers/mma_structures.pyx +4 -8
- multipers/mma_structures.pyx.tp +1083 -1085
- multipers/multi_parameter_rank_invariant/diff_helpers.h +84 -93
- multipers/multi_parameter_rank_invariant/euler_characteristic.h +97 -97
- multipers/multi_parameter_rank_invariant/function_rips.h +322 -322
- multipers/multi_parameter_rank_invariant/hilbert_function.h +769 -769
- multipers/multi_parameter_rank_invariant/persistence_slices.h +148 -148
- multipers/multi_parameter_rank_invariant/rank_invariant.h +369 -369
- multipers/multiparameter_edge_collapse.py +41 -41
- multipers/multiparameter_module_approximation/approximation.h +2298 -2295
- multipers/multiparameter_module_approximation/combinatory.h +129 -129
- multipers/multiparameter_module_approximation/debug.h +107 -107
- multipers/multiparameter_module_approximation/format_python-cpp.h +286 -286
- multipers/multiparameter_module_approximation/heap_column.h +238 -238
- multipers/multiparameter_module_approximation/images.h +79 -79
- multipers/multiparameter_module_approximation/list_column.h +174 -174
- multipers/multiparameter_module_approximation/list_column_2.h +232 -232
- multipers/multiparameter_module_approximation/ru_matrix.h +347 -347
- multipers/multiparameter_module_approximation/set_column.h +135 -135
- multipers/multiparameter_module_approximation/structure_higher_dim_barcode.h +36 -36
- multipers/multiparameter_module_approximation/unordered_set_column.h +166 -166
- multipers/multiparameter_module_approximation/utilities.h +403 -419
- multipers/multiparameter_module_approximation/vector_column.h +223 -223
- multipers/multiparameter_module_approximation/vector_matrix.h +331 -331
- multipers/multiparameter_module_approximation/vineyards.h +464 -464
- multipers/multiparameter_module_approximation/vineyards_trajectories.h +649 -649
- multipers/multiparameter_module_approximation.cp311-win_amd64.pyd +0 -0
- multipers/multiparameter_module_approximation.pyx +218 -217
- multipers/pickle.py +90 -53
- multipers/plots.py +342 -334
- multipers/point_measure.cp311-win_amd64.pyd +0 -0
- multipers/point_measure.pyx +322 -320
- multipers/simplex_tree_multi.cp311-win_amd64.pyd +0 -0
- multipers/simplex_tree_multi.pxd +133 -133
- multipers/simplex_tree_multi.pyx +115 -48
- multipers/simplex_tree_multi.pyx.tp +1947 -1935
- multipers/slicer.cp311-win_amd64.pyd +0 -0
- multipers/slicer.pxd +301 -120
- multipers/slicer.pxd.tp +218 -214
- multipers/slicer.pyx +1570 -507
- multipers/slicer.pyx.tp +931 -914
- multipers/tensor/tensor.h +672 -672
- multipers/tensor.pxd +13 -13
- multipers/test.pyx +44 -44
- multipers/tests/__init__.py +57 -57
- multipers/torch/diff_grids.py +217 -217
- multipers/torch/rips_density.py +310 -304
- {multipers-2.2.3.dist-info → multipers-2.3.1.dist-info}/LICENSE +21 -21
- {multipers-2.2.3.dist-info → multipers-2.3.1.dist-info}/METADATA +21 -11
- multipers-2.3.1.dist-info/RECORD +182 -0
- {multipers-2.2.3.dist-info → multipers-2.3.1.dist-info}/WHEEL +1 -1
- multipers/tests/test_diff_helper.py +0 -73
- multipers/tests/test_hilbert_function.py +0 -82
- multipers/tests/test_mma.py +0 -83
- multipers/tests/test_point_clouds.py +0 -49
- multipers/tests/test_python-cpp_conversion.py +0 -82
- multipers/tests/test_signed_betti.py +0 -181
- multipers/tests/test_signed_measure.py +0 -89
- multipers/tests/test_simplextreemulti.py +0 -221
- multipers/tests/test_slicer.py +0 -221
- multipers-2.2.3.dist-info/RECORD +0 -189
- {multipers-2.2.3.dist-info → multipers-2.3.1.dist-info}/top_level.txt +0 -0
multipers/slicer.pxd
CHANGED
|
@@ -34,6 +34,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
34
34
|
C_KSlicer_Matrix0_vine_i32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[int32_t]]&)
|
|
35
35
|
|
|
36
36
|
C_KSlicer_Matrix0_vine_i32& operator=(const C_KSlicer_Matrix0_vine_i32&)
|
|
37
|
+
|
|
38
|
+
C_KSlicer_Matrix0_vine_i32 colexical_rearange() except + nogil
|
|
39
|
+
|
|
37
40
|
vector[vector[pair[int32_t, int32_t]]] get_barcode() nogil
|
|
38
41
|
void push_to(const Line[int32_t]&) nogil
|
|
39
42
|
void set_one_filtration(const vector[int32_t]&) nogil
|
|
@@ -58,9 +61,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
58
61
|
vector[uint32_t] get_current_order() nogil
|
|
59
62
|
void add_generator(const One_critical_filtration[int32_t] &) nogil
|
|
60
63
|
|
|
64
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
65
|
+
|
|
61
66
|
|
|
62
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]]) nogil
|
|
63
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]]) nogil
|
|
67
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]], bool) nogil
|
|
68
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]],bool) nogil
|
|
64
69
|
|
|
65
70
|
#------------------------------------------------------------------------------
|
|
66
71
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -72,6 +77,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
72
77
|
C_KSlicer_Matrix1_vine_i32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[int32_t]]&)
|
|
73
78
|
|
|
74
79
|
C_KSlicer_Matrix1_vine_i32& operator=(const C_KSlicer_Matrix1_vine_i32&)
|
|
80
|
+
|
|
81
|
+
C_KSlicer_Matrix1_vine_i32 colexical_rearange() except + nogil
|
|
82
|
+
|
|
75
83
|
vector[vector[pair[int32_t, int32_t]]] get_barcode() nogil
|
|
76
84
|
void push_to(const Line[int32_t]&) nogil
|
|
77
85
|
void set_one_filtration(const vector[int32_t]&) nogil
|
|
@@ -96,9 +104,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
96
104
|
vector[uint32_t] get_current_order() nogil
|
|
97
105
|
void add_generator(const One_critical_filtration[int32_t] &) nogil
|
|
98
106
|
|
|
107
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
108
|
+
|
|
99
109
|
|
|
100
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]]) nogil
|
|
101
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]]) nogil
|
|
110
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]], bool) nogil
|
|
111
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]],bool) nogil
|
|
102
112
|
|
|
103
113
|
#------------------------------------------------------------------------------
|
|
104
114
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -110,6 +120,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
110
120
|
C_KSlicer_Matrix0_vine_i64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[int64_t]]&)
|
|
111
121
|
|
|
112
122
|
C_KSlicer_Matrix0_vine_i64& operator=(const C_KSlicer_Matrix0_vine_i64&)
|
|
123
|
+
|
|
124
|
+
C_KSlicer_Matrix0_vine_i64 colexical_rearange() except + nogil
|
|
125
|
+
|
|
113
126
|
vector[vector[pair[int64_t, int64_t]]] get_barcode() nogil
|
|
114
127
|
void push_to(const Line[int64_t]&) nogil
|
|
115
128
|
void set_one_filtration(const vector[int64_t]&) nogil
|
|
@@ -134,9 +147,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
134
147
|
vector[uint32_t] get_current_order() nogil
|
|
135
148
|
void add_generator(const One_critical_filtration[int64_t] &) nogil
|
|
136
149
|
|
|
150
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
151
|
+
|
|
137
152
|
|
|
138
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]]) nogil
|
|
139
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]]) nogil
|
|
153
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]], bool) nogil
|
|
154
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]],bool) nogil
|
|
140
155
|
|
|
141
156
|
#------------------------------------------------------------------------------
|
|
142
157
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -148,6 +163,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
148
163
|
C_KSlicer_Matrix1_vine_i64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[int64_t]]&)
|
|
149
164
|
|
|
150
165
|
C_KSlicer_Matrix1_vine_i64& operator=(const C_KSlicer_Matrix1_vine_i64&)
|
|
166
|
+
|
|
167
|
+
C_KSlicer_Matrix1_vine_i64 colexical_rearange() except + nogil
|
|
168
|
+
|
|
151
169
|
vector[vector[pair[int64_t, int64_t]]] get_barcode() nogil
|
|
152
170
|
void push_to(const Line[int64_t]&) nogil
|
|
153
171
|
void set_one_filtration(const vector[int64_t]&) nogil
|
|
@@ -172,9 +190,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
172
190
|
vector[uint32_t] get_current_order() nogil
|
|
173
191
|
void add_generator(const One_critical_filtration[int64_t] &) nogil
|
|
174
192
|
|
|
193
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
194
|
+
|
|
175
195
|
|
|
176
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]]) nogil
|
|
177
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]]) nogil
|
|
196
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]], bool) nogil
|
|
197
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]],bool) nogil
|
|
178
198
|
|
|
179
199
|
#------------------------------------------------------------------------------
|
|
180
200
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -186,6 +206,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
186
206
|
C_KSlicer_Matrix0_vine_f32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[float]]&)
|
|
187
207
|
|
|
188
208
|
C_KSlicer_Matrix0_vine_f32& operator=(const C_KSlicer_Matrix0_vine_f32&)
|
|
209
|
+
|
|
210
|
+
C_KSlicer_Matrix0_vine_f32 colexical_rearange() except + nogil
|
|
211
|
+
|
|
189
212
|
vector[vector[pair[float, float]]] get_barcode() nogil
|
|
190
213
|
void push_to(const Line[float]&) nogil
|
|
191
214
|
void set_one_filtration(const vector[float]&) nogil
|
|
@@ -210,9 +233,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
210
233
|
vector[uint32_t] get_current_order() nogil
|
|
211
234
|
void add_generator(const One_critical_filtration[float] &) nogil
|
|
212
235
|
|
|
236
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
237
|
+
|
|
213
238
|
|
|
214
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]]) nogil
|
|
215
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]]) nogil
|
|
239
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]], bool) nogil
|
|
240
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]],bool) nogil
|
|
216
241
|
|
|
217
242
|
#------------------------------------------------------------------------------
|
|
218
243
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -224,6 +249,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
224
249
|
C_KSlicer_Matrix1_vine_f32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[float]]&)
|
|
225
250
|
|
|
226
251
|
C_KSlicer_Matrix1_vine_f32& operator=(const C_KSlicer_Matrix1_vine_f32&)
|
|
252
|
+
|
|
253
|
+
C_KSlicer_Matrix1_vine_f32 colexical_rearange() except + nogil
|
|
254
|
+
|
|
227
255
|
vector[vector[pair[float, float]]] get_barcode() nogil
|
|
228
256
|
void push_to(const Line[float]&) nogil
|
|
229
257
|
void set_one_filtration(const vector[float]&) nogil
|
|
@@ -248,9 +276,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
248
276
|
vector[uint32_t] get_current_order() nogil
|
|
249
277
|
void add_generator(const One_critical_filtration[float] &) nogil
|
|
250
278
|
|
|
279
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
280
|
+
|
|
251
281
|
|
|
252
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]]) nogil
|
|
253
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]]) nogil
|
|
282
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]], bool) nogil
|
|
283
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]],bool) nogil
|
|
254
284
|
|
|
255
285
|
#------------------------------------------------------------------------------
|
|
256
286
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -262,6 +292,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
262
292
|
C_KSlicer_Matrix0_vine_f64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[double]]&)
|
|
263
293
|
|
|
264
294
|
C_KSlicer_Matrix0_vine_f64& operator=(const C_KSlicer_Matrix0_vine_f64&)
|
|
295
|
+
|
|
296
|
+
C_KSlicer_Matrix0_vine_f64 colexical_rearange() except + nogil
|
|
297
|
+
|
|
265
298
|
vector[vector[pair[double, double]]] get_barcode() nogil
|
|
266
299
|
void push_to(const Line[double]&) nogil
|
|
267
300
|
void set_one_filtration(const vector[double]&) nogil
|
|
@@ -286,9 +319,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
286
319
|
vector[uint32_t] get_current_order() nogil
|
|
287
320
|
void add_generator(const One_critical_filtration[double] &) nogil
|
|
288
321
|
|
|
322
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
323
|
+
|
|
289
324
|
|
|
290
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]]) nogil
|
|
291
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]]) nogil
|
|
325
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]], bool) nogil
|
|
326
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]],bool) nogil
|
|
292
327
|
|
|
293
328
|
#------------------------------------------------------------------------------
|
|
294
329
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -300,6 +335,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
300
335
|
C_KSlicer_Matrix1_vine_f64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[double]]&)
|
|
301
336
|
|
|
302
337
|
C_KSlicer_Matrix1_vine_f64& operator=(const C_KSlicer_Matrix1_vine_f64&)
|
|
338
|
+
|
|
339
|
+
C_KSlicer_Matrix1_vine_f64 colexical_rearange() except + nogil
|
|
340
|
+
|
|
303
341
|
vector[vector[pair[double, double]]] get_barcode() nogil
|
|
304
342
|
void push_to(const Line[double]&) nogil
|
|
305
343
|
void set_one_filtration(const vector[double]&) nogil
|
|
@@ -324,9 +362,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
324
362
|
vector[uint32_t] get_current_order() nogil
|
|
325
363
|
void add_generator(const One_critical_filtration[double] &) nogil
|
|
326
364
|
|
|
365
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
327
366
|
|
|
328
|
-
|
|
329
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[
|
|
367
|
+
|
|
368
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]], bool) nogil
|
|
369
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]],bool) nogil
|
|
330
370
|
|
|
331
371
|
#------------------------------------------------------------------------------
|
|
332
372
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -338,6 +378,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
338
378
|
C_Slicer_Matrix0_vine_i32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[int32_t]]&)
|
|
339
379
|
|
|
340
380
|
C_Slicer_Matrix0_vine_i32& operator=(const C_Slicer_Matrix0_vine_i32&)
|
|
381
|
+
|
|
382
|
+
C_Slicer_Matrix0_vine_i32 colexical_rearange() except + nogil
|
|
383
|
+
|
|
341
384
|
vector[vector[pair[int32_t, int32_t]]] get_barcode() nogil
|
|
342
385
|
void push_to(const Line[int32_t]&) nogil
|
|
343
386
|
void set_one_filtration(const vector[int32_t]&) nogil
|
|
@@ -360,12 +403,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
360
403
|
void vineyard_update() nogil
|
|
361
404
|
vector[vector[vector[vector[unsigned int]]]] get_representative_cycles(bool, bool) nogil
|
|
362
405
|
vector[uint32_t] get_current_order() nogil
|
|
363
|
-
|
|
406
|
+
|
|
364
407
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
408
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
365
409
|
|
|
366
410
|
|
|
367
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]]) nogil
|
|
368
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]]) nogil
|
|
411
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]], bool) nogil
|
|
412
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]],bool) nogil
|
|
369
413
|
|
|
370
414
|
#------------------------------------------------------------------------------
|
|
371
415
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -377,6 +421,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
377
421
|
C_Slicer_Matrix1_vine_i32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[int32_t]]&)
|
|
378
422
|
|
|
379
423
|
C_Slicer_Matrix1_vine_i32& operator=(const C_Slicer_Matrix1_vine_i32&)
|
|
424
|
+
|
|
425
|
+
C_Slicer_Matrix1_vine_i32 colexical_rearange() except + nogil
|
|
426
|
+
|
|
380
427
|
vector[vector[pair[int32_t, int32_t]]] get_barcode() nogil
|
|
381
428
|
void push_to(const Line[int32_t]&) nogil
|
|
382
429
|
void set_one_filtration(const vector[int32_t]&) nogil
|
|
@@ -399,12 +446,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
399
446
|
void vineyard_update() nogil
|
|
400
447
|
vector[vector[vector[vector[unsigned int]]]] get_representative_cycles(bool, bool) nogil
|
|
401
448
|
vector[uint32_t] get_current_order() nogil
|
|
402
|
-
|
|
449
|
+
|
|
403
450
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
451
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
404
452
|
|
|
405
453
|
|
|
406
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]]) nogil
|
|
407
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]]) nogil
|
|
454
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]], bool) nogil
|
|
455
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]],bool) nogil
|
|
408
456
|
|
|
409
457
|
#------------------------------------------------------------------------------
|
|
410
458
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -416,6 +464,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
416
464
|
C_Slicer_Matrix0_vine_i64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[int64_t]]&)
|
|
417
465
|
|
|
418
466
|
C_Slicer_Matrix0_vine_i64& operator=(const C_Slicer_Matrix0_vine_i64&)
|
|
467
|
+
|
|
468
|
+
C_Slicer_Matrix0_vine_i64 colexical_rearange() except + nogil
|
|
469
|
+
|
|
419
470
|
vector[vector[pair[int64_t, int64_t]]] get_barcode() nogil
|
|
420
471
|
void push_to(const Line[int64_t]&) nogil
|
|
421
472
|
void set_one_filtration(const vector[int64_t]&) nogil
|
|
@@ -438,12 +489,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
438
489
|
void vineyard_update() nogil
|
|
439
490
|
vector[vector[vector[vector[unsigned int]]]] get_representative_cycles(bool, bool) nogil
|
|
440
491
|
vector[uint32_t] get_current_order() nogil
|
|
441
|
-
|
|
492
|
+
|
|
442
493
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
494
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
443
495
|
|
|
444
496
|
|
|
445
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]]) nogil
|
|
446
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]]) nogil
|
|
497
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]], bool) nogil
|
|
498
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]],bool) nogil
|
|
447
499
|
|
|
448
500
|
#------------------------------------------------------------------------------
|
|
449
501
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -455,6 +507,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
455
507
|
C_Slicer_Matrix1_vine_i64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[int64_t]]&)
|
|
456
508
|
|
|
457
509
|
C_Slicer_Matrix1_vine_i64& operator=(const C_Slicer_Matrix1_vine_i64&)
|
|
510
|
+
|
|
511
|
+
C_Slicer_Matrix1_vine_i64 colexical_rearange() except + nogil
|
|
512
|
+
|
|
458
513
|
vector[vector[pair[int64_t, int64_t]]] get_barcode() nogil
|
|
459
514
|
void push_to(const Line[int64_t]&) nogil
|
|
460
515
|
void set_one_filtration(const vector[int64_t]&) nogil
|
|
@@ -477,12 +532,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
477
532
|
void vineyard_update() nogil
|
|
478
533
|
vector[vector[vector[vector[unsigned int]]]] get_representative_cycles(bool, bool) nogil
|
|
479
534
|
vector[uint32_t] get_current_order() nogil
|
|
480
|
-
|
|
535
|
+
|
|
481
536
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
537
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
482
538
|
|
|
483
539
|
|
|
484
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]]) nogil
|
|
485
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]]) nogil
|
|
540
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]], bool) nogil
|
|
541
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]],bool) nogil
|
|
486
542
|
|
|
487
543
|
#------------------------------------------------------------------------------
|
|
488
544
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -494,6 +550,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
494
550
|
C_Slicer_Matrix0_vine_f32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[float]]&)
|
|
495
551
|
|
|
496
552
|
C_Slicer_Matrix0_vine_f32& operator=(const C_Slicer_Matrix0_vine_f32&)
|
|
553
|
+
|
|
554
|
+
C_Slicer_Matrix0_vine_f32 colexical_rearange() except + nogil
|
|
555
|
+
|
|
497
556
|
vector[vector[pair[float, float]]] get_barcode() nogil
|
|
498
557
|
void push_to(const Line[float]&) nogil
|
|
499
558
|
void set_one_filtration(const vector[float]&) nogil
|
|
@@ -516,12 +575,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
516
575
|
void vineyard_update() nogil
|
|
517
576
|
vector[vector[vector[vector[unsigned int]]]] get_representative_cycles(bool, bool) nogil
|
|
518
577
|
vector[uint32_t] get_current_order() nogil
|
|
519
|
-
|
|
578
|
+
|
|
520
579
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
580
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
521
581
|
|
|
522
582
|
|
|
523
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]]) nogil
|
|
524
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]]) nogil
|
|
583
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]], bool) nogil
|
|
584
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]],bool) nogil
|
|
525
585
|
|
|
526
586
|
#------------------------------------------------------------------------------
|
|
527
587
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -533,6 +593,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
533
593
|
C_Slicer_Matrix1_vine_f32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[float]]&)
|
|
534
594
|
|
|
535
595
|
C_Slicer_Matrix1_vine_f32& operator=(const C_Slicer_Matrix1_vine_f32&)
|
|
596
|
+
|
|
597
|
+
C_Slicer_Matrix1_vine_f32 colexical_rearange() except + nogil
|
|
598
|
+
|
|
536
599
|
vector[vector[pair[float, float]]] get_barcode() nogil
|
|
537
600
|
void push_to(const Line[float]&) nogil
|
|
538
601
|
void set_one_filtration(const vector[float]&) nogil
|
|
@@ -555,12 +618,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
555
618
|
void vineyard_update() nogil
|
|
556
619
|
vector[vector[vector[vector[unsigned int]]]] get_representative_cycles(bool, bool) nogil
|
|
557
620
|
vector[uint32_t] get_current_order() nogil
|
|
558
|
-
|
|
621
|
+
|
|
559
622
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
623
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
560
624
|
|
|
561
625
|
|
|
562
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]]) nogil
|
|
563
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]]) nogil
|
|
626
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]], bool) nogil
|
|
627
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]],bool) nogil
|
|
564
628
|
|
|
565
629
|
#------------------------------------------------------------------------------
|
|
566
630
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -572,6 +636,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
572
636
|
C_Slicer_Matrix0_vine_f64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[double]]&)
|
|
573
637
|
|
|
574
638
|
C_Slicer_Matrix0_vine_f64& operator=(const C_Slicer_Matrix0_vine_f64&)
|
|
639
|
+
|
|
640
|
+
C_Slicer_Matrix0_vine_f64 colexical_rearange() except + nogil
|
|
641
|
+
|
|
575
642
|
vector[vector[pair[double, double]]] get_barcode() nogil
|
|
576
643
|
void push_to(const Line[double]&) nogil
|
|
577
644
|
void set_one_filtration(const vector[double]&) nogil
|
|
@@ -594,12 +661,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
594
661
|
void vineyard_update() nogil
|
|
595
662
|
vector[vector[vector[vector[unsigned int]]]] get_representative_cycles(bool, bool) nogil
|
|
596
663
|
vector[uint32_t] get_current_order() nogil
|
|
597
|
-
|
|
664
|
+
|
|
598
665
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
666
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
599
667
|
|
|
600
668
|
|
|
601
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]]) nogil
|
|
602
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]]) nogil
|
|
669
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]], bool) nogil
|
|
670
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]],bool) nogil
|
|
603
671
|
|
|
604
672
|
#------------------------------------------------------------------------------
|
|
605
673
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -611,6 +679,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
611
679
|
C_Slicer_Matrix1_vine_f64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[double]]&)
|
|
612
680
|
|
|
613
681
|
C_Slicer_Matrix1_vine_f64& operator=(const C_Slicer_Matrix1_vine_f64&)
|
|
682
|
+
|
|
683
|
+
C_Slicer_Matrix1_vine_f64 colexical_rearange() except + nogil
|
|
684
|
+
|
|
614
685
|
vector[vector[pair[double, double]]] get_barcode() nogil
|
|
615
686
|
void push_to(const Line[double]&) nogil
|
|
616
687
|
void set_one_filtration(const vector[double]&) nogil
|
|
@@ -633,12 +704,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
633
704
|
void vineyard_update() nogil
|
|
634
705
|
vector[vector[vector[vector[unsigned int]]]] get_representative_cycles(bool, bool) nogil
|
|
635
706
|
vector[uint32_t] get_current_order() nogil
|
|
636
|
-
|
|
707
|
+
|
|
637
708
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
709
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
638
710
|
|
|
639
711
|
|
|
640
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]]) nogil
|
|
641
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]]) nogil
|
|
712
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]], bool) nogil
|
|
713
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]],bool) nogil
|
|
642
714
|
|
|
643
715
|
#------------------------------------------------------------------------------
|
|
644
716
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -650,6 +722,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
650
722
|
C_KSlicer_Matrix0_i32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[int32_t]]&)
|
|
651
723
|
|
|
652
724
|
C_KSlicer_Matrix0_i32& operator=(const C_KSlicer_Matrix0_i32&)
|
|
725
|
+
|
|
726
|
+
C_KSlicer_Matrix0_i32 colexical_rearange() except + nogil
|
|
727
|
+
|
|
653
728
|
vector[vector[pair[int32_t, int32_t]]] get_barcode() nogil
|
|
654
729
|
void push_to(const Line[int32_t]&) nogil
|
|
655
730
|
void set_one_filtration(const vector[int32_t]&) nogil
|
|
@@ -671,9 +746,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
671
746
|
C_KSlicer_Matrix0_i32 coarsen_on_grid(vector[vector[int32_t]]) nogil
|
|
672
747
|
void add_generator(const One_critical_filtration[int32_t] &) nogil
|
|
673
748
|
|
|
749
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
750
|
+
|
|
674
751
|
|
|
675
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]]) nogil
|
|
676
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]]) nogil
|
|
752
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]], bool) nogil
|
|
753
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]],bool) nogil
|
|
677
754
|
|
|
678
755
|
#------------------------------------------------------------------------------
|
|
679
756
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -685,6 +762,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
685
762
|
C_KSlicer_Matrix1_i32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[int32_t]]&)
|
|
686
763
|
|
|
687
764
|
C_KSlicer_Matrix1_i32& operator=(const C_KSlicer_Matrix1_i32&)
|
|
765
|
+
|
|
766
|
+
C_KSlicer_Matrix1_i32 colexical_rearange() except + nogil
|
|
767
|
+
|
|
688
768
|
vector[vector[pair[int32_t, int32_t]]] get_barcode() nogil
|
|
689
769
|
void push_to(const Line[int32_t]&) nogil
|
|
690
770
|
void set_one_filtration(const vector[int32_t]&) nogil
|
|
@@ -706,9 +786,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
706
786
|
C_KSlicer_Matrix1_i32 coarsen_on_grid(vector[vector[int32_t]]) nogil
|
|
707
787
|
void add_generator(const One_critical_filtration[int32_t] &) nogil
|
|
708
788
|
|
|
789
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
790
|
+
|
|
709
791
|
|
|
710
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]]) nogil
|
|
711
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]]) nogil
|
|
792
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]], bool) nogil
|
|
793
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]],bool) nogil
|
|
712
794
|
|
|
713
795
|
#------------------------------------------------------------------------------
|
|
714
796
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -720,6 +802,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
720
802
|
C_KSlicer_Matrix0_i64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[int64_t]]&)
|
|
721
803
|
|
|
722
804
|
C_KSlicer_Matrix0_i64& operator=(const C_KSlicer_Matrix0_i64&)
|
|
805
|
+
|
|
806
|
+
C_KSlicer_Matrix0_i64 colexical_rearange() except + nogil
|
|
807
|
+
|
|
723
808
|
vector[vector[pair[int64_t, int64_t]]] get_barcode() nogil
|
|
724
809
|
void push_to(const Line[int64_t]&) nogil
|
|
725
810
|
void set_one_filtration(const vector[int64_t]&) nogil
|
|
@@ -741,9 +826,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
741
826
|
C_KSlicer_Matrix0_i32 coarsen_on_grid(vector[vector[int64_t]]) nogil
|
|
742
827
|
void add_generator(const One_critical_filtration[int64_t] &) nogil
|
|
743
828
|
|
|
829
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
830
|
+
|
|
744
831
|
|
|
745
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]]) nogil
|
|
746
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]]) nogil
|
|
832
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]], bool) nogil
|
|
833
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]],bool) nogil
|
|
747
834
|
|
|
748
835
|
#------------------------------------------------------------------------------
|
|
749
836
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -755,6 +842,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
755
842
|
C_KSlicer_Matrix1_i64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[int64_t]]&)
|
|
756
843
|
|
|
757
844
|
C_KSlicer_Matrix1_i64& operator=(const C_KSlicer_Matrix1_i64&)
|
|
845
|
+
|
|
846
|
+
C_KSlicer_Matrix1_i64 colexical_rearange() except + nogil
|
|
847
|
+
|
|
758
848
|
vector[vector[pair[int64_t, int64_t]]] get_barcode() nogil
|
|
759
849
|
void push_to(const Line[int64_t]&) nogil
|
|
760
850
|
void set_one_filtration(const vector[int64_t]&) nogil
|
|
@@ -776,9 +866,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
776
866
|
C_KSlicer_Matrix1_i32 coarsen_on_grid(vector[vector[int64_t]]) nogil
|
|
777
867
|
void add_generator(const One_critical_filtration[int64_t] &) nogil
|
|
778
868
|
|
|
869
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
870
|
+
|
|
779
871
|
|
|
780
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]]) nogil
|
|
781
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]]) nogil
|
|
872
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]], bool) nogil
|
|
873
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]],bool) nogil
|
|
782
874
|
|
|
783
875
|
#------------------------------------------------------------------------------
|
|
784
876
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -790,6 +882,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
790
882
|
C_KSlicer_Matrix0_f32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[float]]&)
|
|
791
883
|
|
|
792
884
|
C_KSlicer_Matrix0_f32& operator=(const C_KSlicer_Matrix0_f32&)
|
|
885
|
+
|
|
886
|
+
C_KSlicer_Matrix0_f32 colexical_rearange() except + nogil
|
|
887
|
+
|
|
793
888
|
vector[vector[pair[float, float]]] get_barcode() nogil
|
|
794
889
|
void push_to(const Line[float]&) nogil
|
|
795
890
|
void set_one_filtration(const vector[float]&) nogil
|
|
@@ -811,9 +906,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
811
906
|
C_KSlicer_Matrix0_i32 coarsen_on_grid(vector[vector[float]]) nogil
|
|
812
907
|
void add_generator(const One_critical_filtration[float] &) nogil
|
|
813
908
|
|
|
909
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
910
|
+
|
|
814
911
|
|
|
815
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]]) nogil
|
|
816
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]]) nogil
|
|
912
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]], bool) nogil
|
|
913
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]],bool) nogil
|
|
817
914
|
|
|
818
915
|
#------------------------------------------------------------------------------
|
|
819
916
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -825,6 +922,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
825
922
|
C_KSlicer_Matrix1_f32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[float]]&)
|
|
826
923
|
|
|
827
924
|
C_KSlicer_Matrix1_f32& operator=(const C_KSlicer_Matrix1_f32&)
|
|
925
|
+
|
|
926
|
+
C_KSlicer_Matrix1_f32 colexical_rearange() except + nogil
|
|
927
|
+
|
|
828
928
|
vector[vector[pair[float, float]]] get_barcode() nogil
|
|
829
929
|
void push_to(const Line[float]&) nogil
|
|
830
930
|
void set_one_filtration(const vector[float]&) nogil
|
|
@@ -846,9 +946,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
846
946
|
C_KSlicer_Matrix1_i32 coarsen_on_grid(vector[vector[float]]) nogil
|
|
847
947
|
void add_generator(const One_critical_filtration[float] &) nogil
|
|
848
948
|
|
|
949
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
950
|
+
|
|
849
951
|
|
|
850
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]]) nogil
|
|
851
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]]) nogil
|
|
952
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]], bool) nogil
|
|
953
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]],bool) nogil
|
|
852
954
|
|
|
853
955
|
#------------------------------------------------------------------------------
|
|
854
956
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -860,6 +962,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
860
962
|
C_KSlicer_Matrix0_f64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[double]]&)
|
|
861
963
|
|
|
862
964
|
C_KSlicer_Matrix0_f64& operator=(const C_KSlicer_Matrix0_f64&)
|
|
965
|
+
|
|
966
|
+
C_KSlicer_Matrix0_f64 colexical_rearange() except + nogil
|
|
967
|
+
|
|
863
968
|
vector[vector[pair[double, double]]] get_barcode() nogil
|
|
864
969
|
void push_to(const Line[double]&) nogil
|
|
865
970
|
void set_one_filtration(const vector[double]&) nogil
|
|
@@ -881,9 +986,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
881
986
|
C_KSlicer_Matrix0_i32 coarsen_on_grid(vector[vector[double]]) nogil
|
|
882
987
|
void add_generator(const One_critical_filtration[double] &) nogil
|
|
883
988
|
|
|
989
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
990
|
+
|
|
884
991
|
|
|
885
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]]) nogil
|
|
886
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]]) nogil
|
|
992
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]], bool) nogil
|
|
993
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]],bool) nogil
|
|
887
994
|
|
|
888
995
|
#------------------------------------------------------------------------------
|
|
889
996
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -895,6 +1002,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
895
1002
|
C_KSlicer_Matrix1_f64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[double]]&)
|
|
896
1003
|
|
|
897
1004
|
C_KSlicer_Matrix1_f64& operator=(const C_KSlicer_Matrix1_f64&)
|
|
1005
|
+
|
|
1006
|
+
C_KSlicer_Matrix1_f64 colexical_rearange() except + nogil
|
|
1007
|
+
|
|
898
1008
|
vector[vector[pair[double, double]]] get_barcode() nogil
|
|
899
1009
|
void push_to(const Line[double]&) nogil
|
|
900
1010
|
void set_one_filtration(const vector[double]&) nogil
|
|
@@ -916,9 +1026,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
916
1026
|
C_KSlicer_Matrix1_i32 coarsen_on_grid(vector[vector[double]]) nogil
|
|
917
1027
|
void add_generator(const One_critical_filtration[double] &) nogil
|
|
918
1028
|
|
|
1029
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1030
|
+
|
|
919
1031
|
|
|
920
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]]) nogil
|
|
921
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]]) nogil
|
|
1032
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]], bool) nogil
|
|
1033
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]],bool) nogil
|
|
922
1034
|
|
|
923
1035
|
#------------------------------------------------------------------------------
|
|
924
1036
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -930,6 +1042,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
930
1042
|
C_Slicer_Matrix0_i32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[int32_t]]&)
|
|
931
1043
|
|
|
932
1044
|
C_Slicer_Matrix0_i32& operator=(const C_Slicer_Matrix0_i32&)
|
|
1045
|
+
|
|
1046
|
+
C_Slicer_Matrix0_i32 colexical_rearange() except + nogil
|
|
1047
|
+
|
|
933
1048
|
vector[vector[pair[int32_t, int32_t]]] get_barcode() nogil
|
|
934
1049
|
void push_to(const Line[int32_t]&) nogil
|
|
935
1050
|
void set_one_filtration(const vector[int32_t]&) nogil
|
|
@@ -949,12 +1064,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
949
1064
|
void coarsen_on_grid_inplace(vector[vector[int32_t]], bool) nogil
|
|
950
1065
|
vector[One_critical_filtration[int32_t]]& get_filtrations() nogil
|
|
951
1066
|
C_Slicer_Matrix0_i32 coarsen_on_grid(vector[vector[int32_t]]) nogil
|
|
952
|
-
|
|
1067
|
+
|
|
953
1068
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1069
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
954
1070
|
|
|
955
1071
|
|
|
956
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]]) nogil
|
|
957
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]]) nogil
|
|
1072
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]], bool) nogil
|
|
1073
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]],bool) nogil
|
|
958
1074
|
|
|
959
1075
|
#------------------------------------------------------------------------------
|
|
960
1076
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -966,6 +1082,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
966
1082
|
C_Slicer_Matrix1_i32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[int32_t]]&)
|
|
967
1083
|
|
|
968
1084
|
C_Slicer_Matrix1_i32& operator=(const C_Slicer_Matrix1_i32&)
|
|
1085
|
+
|
|
1086
|
+
C_Slicer_Matrix1_i32 colexical_rearange() except + nogil
|
|
1087
|
+
|
|
969
1088
|
vector[vector[pair[int32_t, int32_t]]] get_barcode() nogil
|
|
970
1089
|
void push_to(const Line[int32_t]&) nogil
|
|
971
1090
|
void set_one_filtration(const vector[int32_t]&) nogil
|
|
@@ -985,12 +1104,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
985
1104
|
void coarsen_on_grid_inplace(vector[vector[int32_t]], bool) nogil
|
|
986
1105
|
vector[One_critical_filtration[int32_t]]& get_filtrations() nogil
|
|
987
1106
|
C_Slicer_Matrix1_i32 coarsen_on_grid(vector[vector[int32_t]]) nogil
|
|
988
|
-
|
|
1107
|
+
|
|
989
1108
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1109
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
990
1110
|
|
|
991
1111
|
|
|
992
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]]) nogil
|
|
993
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]]) nogil
|
|
1112
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]], bool) nogil
|
|
1113
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]],bool) nogil
|
|
994
1114
|
|
|
995
1115
|
#------------------------------------------------------------------------------
|
|
996
1116
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1002,6 +1122,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1002
1122
|
C_Slicer_Matrix0_i64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[int64_t]]&)
|
|
1003
1123
|
|
|
1004
1124
|
C_Slicer_Matrix0_i64& operator=(const C_Slicer_Matrix0_i64&)
|
|
1125
|
+
|
|
1126
|
+
C_Slicer_Matrix0_i64 colexical_rearange() except + nogil
|
|
1127
|
+
|
|
1005
1128
|
vector[vector[pair[int64_t, int64_t]]] get_barcode() nogil
|
|
1006
1129
|
void push_to(const Line[int64_t]&) nogil
|
|
1007
1130
|
void set_one_filtration(const vector[int64_t]&) nogil
|
|
@@ -1021,12 +1144,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1021
1144
|
void coarsen_on_grid_inplace(vector[vector[int64_t]], bool) nogil
|
|
1022
1145
|
vector[One_critical_filtration[int64_t]]& get_filtrations() nogil
|
|
1023
1146
|
C_Slicer_Matrix0_i32 coarsen_on_grid(vector[vector[int64_t]]) nogil
|
|
1024
|
-
|
|
1147
|
+
|
|
1025
1148
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1149
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
1026
1150
|
|
|
1027
1151
|
|
|
1028
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]]) nogil
|
|
1029
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]]) nogil
|
|
1152
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]], bool) nogil
|
|
1153
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]],bool) nogil
|
|
1030
1154
|
|
|
1031
1155
|
#------------------------------------------------------------------------------
|
|
1032
1156
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1038,6 +1162,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1038
1162
|
C_Slicer_Matrix1_i64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[int64_t]]&)
|
|
1039
1163
|
|
|
1040
1164
|
C_Slicer_Matrix1_i64& operator=(const C_Slicer_Matrix1_i64&)
|
|
1165
|
+
|
|
1166
|
+
C_Slicer_Matrix1_i64 colexical_rearange() except + nogil
|
|
1167
|
+
|
|
1041
1168
|
vector[vector[pair[int64_t, int64_t]]] get_barcode() nogil
|
|
1042
1169
|
void push_to(const Line[int64_t]&) nogil
|
|
1043
1170
|
void set_one_filtration(const vector[int64_t]&) nogil
|
|
@@ -1057,12 +1184,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1057
1184
|
void coarsen_on_grid_inplace(vector[vector[int64_t]], bool) nogil
|
|
1058
1185
|
vector[One_critical_filtration[int64_t]]& get_filtrations() nogil
|
|
1059
1186
|
C_Slicer_Matrix1_i32 coarsen_on_grid(vector[vector[int64_t]]) nogil
|
|
1060
|
-
|
|
1187
|
+
|
|
1061
1188
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1189
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
1062
1190
|
|
|
1063
1191
|
|
|
1064
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]]) nogil
|
|
1065
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]]) nogil
|
|
1192
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]], bool) nogil
|
|
1193
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]],bool) nogil
|
|
1066
1194
|
|
|
1067
1195
|
#------------------------------------------------------------------------------
|
|
1068
1196
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1074,6 +1202,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1074
1202
|
C_Slicer_Matrix0_f32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[float]]&)
|
|
1075
1203
|
|
|
1076
1204
|
C_Slicer_Matrix0_f32& operator=(const C_Slicer_Matrix0_f32&)
|
|
1205
|
+
|
|
1206
|
+
C_Slicer_Matrix0_f32 colexical_rearange() except + nogil
|
|
1207
|
+
|
|
1077
1208
|
vector[vector[pair[float, float]]] get_barcode() nogil
|
|
1078
1209
|
void push_to(const Line[float]&) nogil
|
|
1079
1210
|
void set_one_filtration(const vector[float]&) nogil
|
|
@@ -1093,12 +1224,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1093
1224
|
void coarsen_on_grid_inplace(vector[vector[float]], bool) nogil
|
|
1094
1225
|
vector[One_critical_filtration[float]]& get_filtrations() nogil
|
|
1095
1226
|
C_Slicer_Matrix0_i32 coarsen_on_grid(vector[vector[float]]) nogil
|
|
1096
|
-
|
|
1227
|
+
|
|
1097
1228
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1229
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
1098
1230
|
|
|
1099
1231
|
|
|
1100
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]]) nogil
|
|
1101
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]]) nogil
|
|
1232
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]], bool) nogil
|
|
1233
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]],bool) nogil
|
|
1102
1234
|
|
|
1103
1235
|
#------------------------------------------------------------------------------
|
|
1104
1236
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1110,6 +1242,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1110
1242
|
C_Slicer_Matrix1_f32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[float]]&)
|
|
1111
1243
|
|
|
1112
1244
|
C_Slicer_Matrix1_f32& operator=(const C_Slicer_Matrix1_f32&)
|
|
1245
|
+
|
|
1246
|
+
C_Slicer_Matrix1_f32 colexical_rearange() except + nogil
|
|
1247
|
+
|
|
1113
1248
|
vector[vector[pair[float, float]]] get_barcode() nogil
|
|
1114
1249
|
void push_to(const Line[float]&) nogil
|
|
1115
1250
|
void set_one_filtration(const vector[float]&) nogil
|
|
@@ -1129,12 +1264,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1129
1264
|
void coarsen_on_grid_inplace(vector[vector[float]], bool) nogil
|
|
1130
1265
|
vector[One_critical_filtration[float]]& get_filtrations() nogil
|
|
1131
1266
|
C_Slicer_Matrix1_i32 coarsen_on_grid(vector[vector[float]]) nogil
|
|
1132
|
-
|
|
1267
|
+
|
|
1133
1268
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1269
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
1134
1270
|
|
|
1135
1271
|
|
|
1136
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]]) nogil
|
|
1137
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]]) nogil
|
|
1272
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]], bool) nogil
|
|
1273
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]],bool) nogil
|
|
1138
1274
|
|
|
1139
1275
|
#------------------------------------------------------------------------------
|
|
1140
1276
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1146,6 +1282,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1146
1282
|
C_Slicer_Matrix0_f64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[double]]&)
|
|
1147
1283
|
|
|
1148
1284
|
C_Slicer_Matrix0_f64& operator=(const C_Slicer_Matrix0_f64&)
|
|
1285
|
+
|
|
1286
|
+
C_Slicer_Matrix0_f64 colexical_rearange() except + nogil
|
|
1287
|
+
|
|
1149
1288
|
vector[vector[pair[double, double]]] get_barcode() nogil
|
|
1150
1289
|
void push_to(const Line[double]&) nogil
|
|
1151
1290
|
void set_one_filtration(const vector[double]&) nogil
|
|
@@ -1165,12 +1304,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1165
1304
|
void coarsen_on_grid_inplace(vector[vector[double]], bool) nogil
|
|
1166
1305
|
vector[One_critical_filtration[double]]& get_filtrations() nogil
|
|
1167
1306
|
C_Slicer_Matrix0_i32 coarsen_on_grid(vector[vector[double]]) nogil
|
|
1168
|
-
|
|
1307
|
+
|
|
1169
1308
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1309
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
1170
1310
|
|
|
1171
1311
|
|
|
1172
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]]) nogil
|
|
1173
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]]) nogil
|
|
1312
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]], bool) nogil
|
|
1313
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]],bool) nogil
|
|
1174
1314
|
|
|
1175
1315
|
#------------------------------------------------------------------------------
|
|
1176
1316
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1182,6 +1322,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1182
1322
|
C_Slicer_Matrix1_f64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[double]]&)
|
|
1183
1323
|
|
|
1184
1324
|
C_Slicer_Matrix1_f64& operator=(const C_Slicer_Matrix1_f64&)
|
|
1325
|
+
|
|
1326
|
+
C_Slicer_Matrix1_f64 colexical_rearange() except + nogil
|
|
1327
|
+
|
|
1185
1328
|
vector[vector[pair[double, double]]] get_barcode() nogil
|
|
1186
1329
|
void push_to(const Line[double]&) nogil
|
|
1187
1330
|
void set_one_filtration(const vector[double]&) nogil
|
|
@@ -1201,12 +1344,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1201
1344
|
void coarsen_on_grid_inplace(vector[vector[double]], bool) nogil
|
|
1202
1345
|
vector[One_critical_filtration[double]]& get_filtrations() nogil
|
|
1203
1346
|
C_Slicer_Matrix1_i32 coarsen_on_grid(vector[vector[double]]) nogil
|
|
1204
|
-
|
|
1347
|
+
|
|
1205
1348
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1349
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
1206
1350
|
|
|
1207
1351
|
|
|
1208
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]]) nogil
|
|
1209
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]]) nogil
|
|
1352
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]], bool) nogil
|
|
1353
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]],bool) nogil
|
|
1210
1354
|
|
|
1211
1355
|
#------------------------------------------------------------------------------
|
|
1212
1356
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1218,6 +1362,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1218
1362
|
C_KSlicer_GudhiCohomology0_i32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[int32_t]]&)
|
|
1219
1363
|
|
|
1220
1364
|
C_KSlicer_GudhiCohomology0_i32& operator=(const C_KSlicer_GudhiCohomology0_i32&)
|
|
1365
|
+
|
|
1366
|
+
C_KSlicer_GudhiCohomology0_i32 colexical_rearange() except + nogil
|
|
1367
|
+
|
|
1221
1368
|
vector[vector[pair[int32_t, int32_t]]] get_barcode() nogil
|
|
1222
1369
|
void push_to(const Line[int32_t]&) nogil
|
|
1223
1370
|
void set_one_filtration(const vector[int32_t]&) nogil
|
|
@@ -1239,9 +1386,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1239
1386
|
C_KSlicer_GudhiCohomology0_i32 coarsen_on_grid(vector[vector[int32_t]]) nogil
|
|
1240
1387
|
void add_generator(const One_critical_filtration[int32_t] &) nogil
|
|
1241
1388
|
|
|
1389
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1390
|
+
|
|
1242
1391
|
|
|
1243
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]]) nogil
|
|
1244
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]]) nogil
|
|
1392
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]], bool) nogil
|
|
1393
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]],bool) nogil
|
|
1245
1394
|
|
|
1246
1395
|
#------------------------------------------------------------------------------
|
|
1247
1396
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1253,6 +1402,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1253
1402
|
C_KSlicer_GudhiCohomology0_i64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[int64_t]]&)
|
|
1254
1403
|
|
|
1255
1404
|
C_KSlicer_GudhiCohomology0_i64& operator=(const C_KSlicer_GudhiCohomology0_i64&)
|
|
1405
|
+
|
|
1406
|
+
C_KSlicer_GudhiCohomology0_i64 colexical_rearange() except + nogil
|
|
1407
|
+
|
|
1256
1408
|
vector[vector[pair[int64_t, int64_t]]] get_barcode() nogil
|
|
1257
1409
|
void push_to(const Line[int64_t]&) nogil
|
|
1258
1410
|
void set_one_filtration(const vector[int64_t]&) nogil
|
|
@@ -1274,9 +1426,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1274
1426
|
C_KSlicer_GudhiCohomology0_i32 coarsen_on_grid(vector[vector[int64_t]]) nogil
|
|
1275
1427
|
void add_generator(const One_critical_filtration[int64_t] &) nogil
|
|
1276
1428
|
|
|
1429
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1430
|
+
|
|
1277
1431
|
|
|
1278
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]]) nogil
|
|
1279
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]]) nogil
|
|
1432
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]], bool) nogil
|
|
1433
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]],bool) nogil
|
|
1280
1434
|
|
|
1281
1435
|
#------------------------------------------------------------------------------
|
|
1282
1436
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1288,6 +1442,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1288
1442
|
C_KSlicer_GudhiCohomology0_f32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[float]]&)
|
|
1289
1443
|
|
|
1290
1444
|
C_KSlicer_GudhiCohomology0_f32& operator=(const C_KSlicer_GudhiCohomology0_f32&)
|
|
1445
|
+
|
|
1446
|
+
C_KSlicer_GudhiCohomology0_f32 colexical_rearange() except + nogil
|
|
1447
|
+
|
|
1291
1448
|
vector[vector[pair[float, float]]] get_barcode() nogil
|
|
1292
1449
|
void push_to(const Line[float]&) nogil
|
|
1293
1450
|
void set_one_filtration(const vector[float]&) nogil
|
|
@@ -1309,9 +1466,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1309
1466
|
C_KSlicer_GudhiCohomology0_i32 coarsen_on_grid(vector[vector[float]]) nogil
|
|
1310
1467
|
void add_generator(const One_critical_filtration[float] &) nogil
|
|
1311
1468
|
|
|
1469
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1470
|
+
|
|
1312
1471
|
|
|
1313
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]]) nogil
|
|
1314
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]]) nogil
|
|
1472
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]], bool) nogil
|
|
1473
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]],bool) nogil
|
|
1315
1474
|
|
|
1316
1475
|
#------------------------------------------------------------------------------
|
|
1317
1476
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1323,6 +1482,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1323
1482
|
C_KSlicer_GudhiCohomology0_f64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[Multi_critical_filtration[double]]&)
|
|
1324
1483
|
|
|
1325
1484
|
C_KSlicer_GudhiCohomology0_f64& operator=(const C_KSlicer_GudhiCohomology0_f64&)
|
|
1485
|
+
|
|
1486
|
+
C_KSlicer_GudhiCohomology0_f64 colexical_rearange() except + nogil
|
|
1487
|
+
|
|
1326
1488
|
vector[vector[pair[double, double]]] get_barcode() nogil
|
|
1327
1489
|
void push_to(const Line[double]&) nogil
|
|
1328
1490
|
void set_one_filtration(const vector[double]&) nogil
|
|
@@ -1344,9 +1506,11 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1344
1506
|
C_KSlicer_GudhiCohomology0_i32 coarsen_on_grid(vector[vector[double]]) nogil
|
|
1345
1507
|
void add_generator(const One_critical_filtration[double] &) nogil
|
|
1346
1508
|
|
|
1509
|
+
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1510
|
+
|
|
1347
1511
|
|
|
1348
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]]) nogil
|
|
1349
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]]) nogil
|
|
1512
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]], bool) nogil
|
|
1513
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]],bool) nogil
|
|
1350
1514
|
|
|
1351
1515
|
#------------------------------------------------------------------------------
|
|
1352
1516
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1358,6 +1522,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1358
1522
|
C_Slicer_GudhiCohomology0_i32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[int32_t]]&)
|
|
1359
1523
|
|
|
1360
1524
|
C_Slicer_GudhiCohomology0_i32& operator=(const C_Slicer_GudhiCohomology0_i32&)
|
|
1525
|
+
|
|
1526
|
+
C_Slicer_GudhiCohomology0_i32 colexical_rearange() except + nogil
|
|
1527
|
+
|
|
1361
1528
|
vector[vector[pair[int32_t, int32_t]]] get_barcode() nogil
|
|
1362
1529
|
void push_to(const Line[int32_t]&) nogil
|
|
1363
1530
|
void set_one_filtration(const vector[int32_t]&) nogil
|
|
@@ -1377,12 +1544,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1377
1544
|
void coarsen_on_grid_inplace(vector[vector[int32_t]], bool) nogil
|
|
1378
1545
|
vector[One_critical_filtration[int32_t]]& get_filtrations() nogil
|
|
1379
1546
|
C_Slicer_GudhiCohomology0_i32 coarsen_on_grid(vector[vector[int32_t]]) nogil
|
|
1380
|
-
|
|
1547
|
+
|
|
1381
1548
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1549
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
1382
1550
|
|
|
1383
1551
|
|
|
1384
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]]) nogil
|
|
1385
|
-
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]]) nogil
|
|
1552
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[vector[int32_t]], bool) nogil
|
|
1553
|
+
vector[vector[vector[pair[int32_t, int32_t]]]] persistence_on_lines(vector[pair[vector[int32_t],vector[int32_t]]],bool) nogil
|
|
1386
1554
|
|
|
1387
1555
|
#------------------------------------------------------------------------------
|
|
1388
1556
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1394,6 +1562,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1394
1562
|
C_Slicer_GudhiCohomology0_i64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[int64_t]]&)
|
|
1395
1563
|
|
|
1396
1564
|
C_Slicer_GudhiCohomology0_i64& operator=(const C_Slicer_GudhiCohomology0_i64&)
|
|
1565
|
+
|
|
1566
|
+
C_Slicer_GudhiCohomology0_i64 colexical_rearange() except + nogil
|
|
1567
|
+
|
|
1397
1568
|
vector[vector[pair[int64_t, int64_t]]] get_barcode() nogil
|
|
1398
1569
|
void push_to(const Line[int64_t]&) nogil
|
|
1399
1570
|
void set_one_filtration(const vector[int64_t]&) nogil
|
|
@@ -1413,12 +1584,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1413
1584
|
void coarsen_on_grid_inplace(vector[vector[int64_t]], bool) nogil
|
|
1414
1585
|
vector[One_critical_filtration[int64_t]]& get_filtrations() nogil
|
|
1415
1586
|
C_Slicer_GudhiCohomology0_i32 coarsen_on_grid(vector[vector[int64_t]]) nogil
|
|
1416
|
-
|
|
1587
|
+
|
|
1417
1588
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1589
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
1418
1590
|
|
|
1419
1591
|
|
|
1420
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]]) nogil
|
|
1421
|
-
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]]) nogil
|
|
1592
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[vector[int64_t]], bool) nogil
|
|
1593
|
+
vector[vector[vector[pair[int64_t, int64_t]]]] persistence_on_lines(vector[pair[vector[int64_t],vector[int64_t]]],bool) nogil
|
|
1422
1594
|
|
|
1423
1595
|
#------------------------------------------------------------------------------
|
|
1424
1596
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1430,6 +1602,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1430
1602
|
C_Slicer_GudhiCohomology0_f32(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[float]]&)
|
|
1431
1603
|
|
|
1432
1604
|
C_Slicer_GudhiCohomology0_f32& operator=(const C_Slicer_GudhiCohomology0_f32&)
|
|
1605
|
+
|
|
1606
|
+
C_Slicer_GudhiCohomology0_f32 colexical_rearange() except + nogil
|
|
1607
|
+
|
|
1433
1608
|
vector[vector[pair[float, float]]] get_barcode() nogil
|
|
1434
1609
|
void push_to(const Line[float]&) nogil
|
|
1435
1610
|
void set_one_filtration(const vector[float]&) nogil
|
|
@@ -1449,12 +1624,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1449
1624
|
void coarsen_on_grid_inplace(vector[vector[float]], bool) nogil
|
|
1450
1625
|
vector[One_critical_filtration[float]]& get_filtrations() nogil
|
|
1451
1626
|
C_Slicer_GudhiCohomology0_i32 coarsen_on_grid(vector[vector[float]]) nogil
|
|
1452
|
-
|
|
1627
|
+
|
|
1453
1628
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1629
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
1454
1630
|
|
|
1455
1631
|
|
|
1456
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]]) nogil
|
|
1457
|
-
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]]) nogil
|
|
1632
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[vector[float]], bool) nogil
|
|
1633
|
+
vector[vector[vector[pair[float, float]]]] persistence_on_lines(vector[pair[vector[float],vector[float]]],bool) nogil
|
|
1458
1634
|
|
|
1459
1635
|
#------------------------------------------------------------------------------
|
|
1460
1636
|
cdef extern from "Persistence_slices_interface.h":
|
|
@@ -1466,6 +1642,9 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1466
1642
|
C_Slicer_GudhiCohomology0_f64(const vector[vector[unsigned int]]&, const vector[int]&, const vector[One_critical_filtration[double]]&)
|
|
1467
1643
|
|
|
1468
1644
|
C_Slicer_GudhiCohomology0_f64& operator=(const C_Slicer_GudhiCohomology0_f64&)
|
|
1645
|
+
|
|
1646
|
+
C_Slicer_GudhiCohomology0_f64 colexical_rearange() except + nogil
|
|
1647
|
+
|
|
1469
1648
|
vector[vector[pair[double, double]]] get_barcode() nogil
|
|
1470
1649
|
void push_to(const Line[double]&) nogil
|
|
1471
1650
|
void set_one_filtration(const vector[double]&) nogil
|
|
@@ -1485,12 +1664,13 @@ cdef extern from "Persistence_slices_interface.h":
|
|
|
1485
1664
|
void coarsen_on_grid_inplace(vector[vector[double]], bool) nogil
|
|
1486
1665
|
vector[One_critical_filtration[double]]& get_filtrations() nogil
|
|
1487
1666
|
C_Slicer_GudhiCohomology0_i32 coarsen_on_grid(vector[vector[double]]) nogil
|
|
1488
|
-
|
|
1667
|
+
|
|
1489
1668
|
void write_to_scc_file(const string&, int, int, bool, bool, bool, bool) nogil
|
|
1669
|
+
void build_from_scc_file(const string&, bool, bool, int) except + nogil
|
|
1490
1670
|
|
|
1491
1671
|
|
|
1492
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]]) nogil
|
|
1493
|
-
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]]) nogil
|
|
1672
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[vector[double]], bool) nogil
|
|
1673
|
+
vector[vector[vector[pair[double, double]]]] persistence_on_lines(vector[pair[vector[double],vector[double]]],bool) nogil
|
|
1494
1674
|
|
|
1495
1675
|
|
|
1496
1676
|
|
|
@@ -1506,57 +1686,58 @@ cdef extern from "multiparameter_module_approximation/approximation.h" namespace
|
|
|
1506
1686
|
Module[float] multiparameter_module_approximation(C_Slicer_Matrix1_vine_f32&, One_critical_filtration[float]&, float, Box[float]&, bool, bool, bool) except + nogil
|
|
1507
1687
|
Module[double] multiparameter_module_approximation(C_Slicer_Matrix0_vine_f64&, One_critical_filtration[double]&, double, Box[double]&, bool, bool, bool) except + nogil
|
|
1508
1688
|
Module[double] multiparameter_module_approximation(C_Slicer_Matrix1_vine_f64&, One_critical_filtration[double]&, double, Box[double]&, bool, bool, bool) except + nogil
|
|
1689
|
+
pass
|
|
1509
1690
|
|
|
1510
1691
|
|
|
1511
1692
|
|
|
1512
1693
|
|
|
1513
1694
|
import multipers.slicer as mps
|
|
1514
1695
|
from cython.operator cimport dereference
|
|
1515
|
-
cdef inline Module[
|
|
1696
|
+
cdef inline Module[double] _multiparameter_module_approximation_f64(object slicer, One_critical_filtration[double] direction, double max_error, Box[double] box, bool threshold, bool complete, bool verbose):
|
|
1516
1697
|
import multipers.slicer as mps
|
|
1517
1698
|
cdef intptr_t slicer_ptr = <intptr_t>(slicer.get_ptr())
|
|
1518
|
-
cdef Module[
|
|
1699
|
+
cdef Module[double] mod
|
|
1519
1700
|
if False:
|
|
1520
1701
|
pass
|
|
1521
|
-
elif isinstance(slicer, mps.
|
|
1702
|
+
elif isinstance(slicer, mps._KSlicer_Matrix0_vine_f64):
|
|
1522
1703
|
with nogil:
|
|
1523
|
-
mod = multiparameter_module_approximation(dereference(<
|
|
1704
|
+
mod = multiparameter_module_approximation(dereference(<C_KSlicer_Matrix0_vine_f64*>(slicer_ptr)), direction, max_error, box, threshold, complete, verbose)
|
|
1524
1705
|
return mod
|
|
1525
|
-
elif isinstance(slicer, mps.
|
|
1706
|
+
elif isinstance(slicer, mps._KSlicer_Matrix1_vine_f64):
|
|
1526
1707
|
with nogil:
|
|
1527
|
-
mod = multiparameter_module_approximation(dereference(<
|
|
1708
|
+
mod = multiparameter_module_approximation(dereference(<C_KSlicer_Matrix1_vine_f64*>(slicer_ptr)), direction, max_error, box, threshold, complete, verbose)
|
|
1528
1709
|
return mod
|
|
1529
|
-
elif isinstance(slicer, mps.
|
|
1710
|
+
elif isinstance(slicer, mps._Slicer_Matrix0_vine_f64):
|
|
1530
1711
|
with nogil:
|
|
1531
|
-
mod = multiparameter_module_approximation(dereference(<
|
|
1712
|
+
mod = multiparameter_module_approximation(dereference(<C_Slicer_Matrix0_vine_f64*>(slicer_ptr)), direction, max_error, box, threshold, complete, verbose)
|
|
1532
1713
|
return mod
|
|
1533
|
-
elif isinstance(slicer, mps.
|
|
1714
|
+
elif isinstance(slicer, mps._Slicer_Matrix1_vine_f64):
|
|
1534
1715
|
with nogil:
|
|
1535
|
-
mod = multiparameter_module_approximation(dereference(<
|
|
1716
|
+
mod = multiparameter_module_approximation(dereference(<C_Slicer_Matrix1_vine_f64*>(slicer_ptr)), direction, max_error, box, threshold, complete, verbose)
|
|
1536
1717
|
return mod
|
|
1537
1718
|
else:
|
|
1538
1719
|
raise ValueError(f"Unsupported slicer type {type(slicer)}")
|
|
1539
|
-
cdef inline Module[
|
|
1720
|
+
cdef inline Module[float] _multiparameter_module_approximation_f32(object slicer, One_critical_filtration[float] direction, float max_error, Box[float] box, bool threshold, bool complete, bool verbose):
|
|
1540
1721
|
import multipers.slicer as mps
|
|
1541
1722
|
cdef intptr_t slicer_ptr = <intptr_t>(slicer.get_ptr())
|
|
1542
|
-
cdef Module[
|
|
1723
|
+
cdef Module[float] mod
|
|
1543
1724
|
if False:
|
|
1544
1725
|
pass
|
|
1545
|
-
elif isinstance(slicer, mps.
|
|
1726
|
+
elif isinstance(slicer, mps._KSlicer_Matrix0_vine_f32):
|
|
1546
1727
|
with nogil:
|
|
1547
|
-
mod = multiparameter_module_approximation(dereference(<
|
|
1728
|
+
mod = multiparameter_module_approximation(dereference(<C_KSlicer_Matrix0_vine_f32*>(slicer_ptr)), direction, max_error, box, threshold, complete, verbose)
|
|
1548
1729
|
return mod
|
|
1549
|
-
elif isinstance(slicer, mps.
|
|
1730
|
+
elif isinstance(slicer, mps._KSlicer_Matrix1_vine_f32):
|
|
1550
1731
|
with nogil:
|
|
1551
|
-
mod = multiparameter_module_approximation(dereference(<
|
|
1732
|
+
mod = multiparameter_module_approximation(dereference(<C_KSlicer_Matrix1_vine_f32*>(slicer_ptr)), direction, max_error, box, threshold, complete, verbose)
|
|
1552
1733
|
return mod
|
|
1553
|
-
elif isinstance(slicer, mps.
|
|
1734
|
+
elif isinstance(slicer, mps._Slicer_Matrix0_vine_f32):
|
|
1554
1735
|
with nogil:
|
|
1555
|
-
mod = multiparameter_module_approximation(dereference(<
|
|
1736
|
+
mod = multiparameter_module_approximation(dereference(<C_Slicer_Matrix0_vine_f32*>(slicer_ptr)), direction, max_error, box, threshold, complete, verbose)
|
|
1556
1737
|
return mod
|
|
1557
|
-
elif isinstance(slicer, mps.
|
|
1738
|
+
elif isinstance(slicer, mps._Slicer_Matrix1_vine_f32):
|
|
1558
1739
|
with nogil:
|
|
1559
|
-
mod = multiparameter_module_approximation(dereference(<
|
|
1740
|
+
mod = multiparameter_module_approximation(dereference(<C_Slicer_Matrix1_vine_f32*>(slicer_ptr)), direction, max_error, box, threshold, complete, verbose)
|
|
1560
1741
|
return mod
|
|
1561
1742
|
else:
|
|
1562
1743
|
raise ValueError(f"Unsupported slicer type {type(slicer)}")
|