From bfc97bf64f53c913a9da2a58dc502b38d659a9b0 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 20 Nov 2013 16:38:22 +0100 Subject: [PATCH] Add persistence::get_order() --- include/libstick-0.1/persistence.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/libstick-0.1/persistence.h b/include/libstick-0.1/persistence.h index 49ddb9d..cef76c0 100644 --- a/include/libstick-0.1/persistence.h +++ b/include/libstick-0.1/persistence.h @@ -94,6 +94,11 @@ class persistence { done_diagrams = false; } + /** Get simplicial order of this persistence object. */ + const simplex_order& get_order() const { + return order; + } + /** Get boundary matrix 'bm' of 'order', compute reduces boundary * matrix 'rbm', and the transformation matrix 'tm' such that rbm = bm * * tm. */ -- 2.39.5