diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2020-03-23 20:21:00 +0100 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2020-03-23 20:21:00 +0100 |
commit | ef351af86aa9fd5afaa075a516270ead8f4b50ab (patch) | |
tree | c88262e681ce1d960d4c70e656374c371ae0f719 /src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp | |
parent | 527d57993af98b030e67bf601703e08dd42fd20b (diff) | |
parent | 3d63b14f7f5181667c3008333193e943d94ead94 (diff) |
Merge remote-tracking branch 'origin/master' into gen2
Diffstat (limited to 'src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp')
-rw-r--r-- | src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp b/src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp index 05bacb9f..3d2ba54f 100644 --- a/src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp +++ b/src/Rips_complex/example/example_one_skeleton_rips_from_correlation_matrix.cpp @@ -63,18 +63,18 @@ int main() { // have a reverse filtration (i.e. filtration of boundary of each simplex S // is greater or equal to the filtration of S). // ---------------------------------------------------------------------------- - std::cout << "Rips complex is of dimension " << stree.dimension() << " - " << stree.num_simplices() << " simplices - " + std::clog << "Rips complex is of dimension " << stree.dimension() << " - " << stree.num_simplices() << " simplices - " << stree.num_vertices() << " vertices." << std::endl; - std::cout << "Iterator on Rips complex simplices in the filtration order, with [filtration value]:" << std::endl; + std::clog << "Iterator on Rips complex simplices in the filtration order, with [filtration value]:" << std::endl; for (auto f_simplex : stree.filtration_simplex_range()) { - std::cout << " ( "; + std::clog << " ( "; for (auto vertex : stree.simplex_vertex_range(f_simplex)) { - std::cout << vertex << " "; + std::clog << vertex << " "; } - std::cout << ") -> " + std::clog << ") -> " << "[" << stree.filtration(f_simplex) << "] "; - std::cout << std::endl; + std::clog << std::endl; } return 0; |