diff options
author | pdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-04-06 19:39:35 +0000 |
---|---|---|
committer | pdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2017-04-06 19:39:35 +0000 |
commit | 00c36cb49bc55d93edadad6b865ffc42118ea148 (patch) | |
tree | 93db47884a59b74393f2e5810cd1bc4b60eef34d /src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h | |
parent | 8252d6eb78c9fe355a2167ad68e9106fcaa8fcdb (diff) |
Answer to MG4 comments.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/gudhi_stat@2314 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: e59312ce2c58d4ac19f2e9d46b7ca4dd29ed8e6e
Diffstat (limited to 'src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h')
-rw-r--r-- | src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h b/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h index a0f8cbd2..9b968b01 100644 --- a/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h +++ b/src/Gudhi_stat/include/gudhi/persistence_representations/Persistence_landscape.h @@ -128,7 +128,9 @@ public: friend std::ostream& operator<<(std::ostream& out, Persistence_landscape& land ); - +protected: + template < typename oper > friend Persistence_landscape operation_on_pair_of_landscapes ( const Persistence_landscape& land1 , const Persistence_landscape& land2 ); +public: /** @@ -521,8 +523,7 @@ protected: void construct_persistence_landscape_from_barcode( const std::vector< std::pair< double , double > > & p ); Persistence_landscape multiply_lanscape_by_real_number_not_overwrite( double x )const; - void multiply_lanscape_by_real_number_overwrite( double x ); - template < typename oper > friend Persistence_landscape operation_on_pair_of_landscapes ( const Persistence_landscape& land1 , const Persistence_landscape& land2 ); + void multiply_lanscape_by_real_number_overwrite( double x ); friend double compute_maximal_distance_non_symmetric( const Persistence_landscape& pl1, const Persistence_landscape& pl2 ); void set_up_numbers_of_functions_for_vectorization_and_projections_to_reals() |