diff options
author | pdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-03-17 08:43:58 +0000 |
---|---|---|
committer | pdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-03-17 08:43:58 +0000 |
commit | d133f17dede836cee1dfff47d2e00532573b9ead (patch) | |
tree | 649419c6dea7a603eec2676bfd44cbacd32cf188 /src/Bitmap_cubical_complex/example | |
parent | 5389d8969d8386bb4c74dbef4b7c7992e9130f13 (diff) |
cleanning up the stuff with iterators in Bitmap_cubical_complex_base.h class.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/bitmap@1049 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: 9630d6df6a2ecdb51ab25150454a563cd928b09a
Diffstat (limited to 'src/Bitmap_cubical_complex/example')
-rw-r--r-- | src/Bitmap_cubical_complex/example/Random_bitmap_cubical_complex.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Bitmap_cubical_complex/example/Random_bitmap_cubical_complex.cpp b/src/Bitmap_cubical_complex/example/Random_bitmap_cubical_complex.cpp index 97347162..8b7f6a04 100644 --- a/src/Bitmap_cubical_complex/example/Random_bitmap_cubical_complex.cpp +++ b/src/Bitmap_cubical_complex/example/Random_bitmap_cubical_complex.cpp @@ -70,11 +70,12 @@ The program will create random cubical complex of that sizes and compute persist for ( size_t i = 0 ; i != multipliers ; ++i ) { data.push_back( rand()/(double)RAND_MAX ); - } - + }
+ Bitmap_cubical_complex< Bitmap_cubical_complex_base<double> > b( sizes , data );
+
+
- Bitmap_cubical_complex< Bitmap_cubical_complex_base<double> > b( sizes , data ); // Compute the persistence diagram of the complex |