projects
/
libstick.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bd91d3
)
Add simplex_order::get_complex()
author
Stefan Huber <shuber@sthu.org>
Thu, 9 Jan 2014 11:29:04 +0000
(12:29 +0100)
committer
Stefan Huber <shuber@sthu.org>
Tue, 14 Jan 2014 15:19:07 +0000
(16:19 +0100)
include/libstick-0.1/simplicialcomplex.h
patch
|
blob
|
history
diff --git
a/include/libstick-0.1/simplicialcomplex.h
b/include/libstick-0.1/simplicialcomplex.h
index 482e12d3edbcd13b46fe3f0f9eb2feee48562273..e83daa47b83597cc016b97bb0bcbd4e04ea3d58b 100644
(file)
--- a/
include/libstick-0.1/simplicialcomplex.h
+++ b/
include/libstick-0.1/simplicialcomplex.h
@@
-121,6
+121,10
@@
class simplicial_complex {
return c.simplices[order.at(i)];
}
+ const simplcompltype& get_complex() const {
+ return c;
+ }
+
/** Returns true iff the faces of simplex i are before i in this order. */
bool is_filtration() const {
assert(size() == c.size());