From: Stefan Huber Date: Wed, 20 Nov 2013 15:38:22 +0000 (+0100) Subject: Add persistence::get_order() X-Git-Tag: v0.1~14 X-Git-Url: https://git.sthu.org/?p=libstick.git;a=commitdiff_plain;h=bfc97bf64f53c913a9da2a58dc502b38d659a9b0 Add persistence::get_order() --- 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. */