X-Git-Url: http://git.sthu.org/?a=blobdiff_plain;f=include%2Flibstick-0.1%2Fpersistence.h;h=cef76c0929b3d85dfefc2aeb244ffa295c352e21;hb=bfc97bf64f53c913a9da2a58dc502b38d659a9b0;hp=49ddb9db4a68947c7b871dafe9cff79cb694f2b6;hpb=9836f51097f5c72a6d7ccc107d1a04dffc4fa7b8;p=libstick.git 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. */