diff options
author | pdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-12-11 15:05:34 +0000 |
---|---|---|
committer | pdlotko <pdlotko@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-12-11 15:05:34 +0000 |
commit | e2bb4a9ecc41619c48e808792bf33558f7fd5e53 (patch) | |
tree | c68ce53c166c844fe26d38d2a535f5a9af6740a6 /src/Gudhi_stat/include | |
parent | 2ae298359a9cf35392c075db3b83d3efeec94e4c (diff) |
Answer to Marc's comment from Sunday.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/gudhi_stat@1845 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: cb4c277633d435bfe9111150f40de46d2fa598c2
Diffstat (limited to 'src/Gudhi_stat/include')
3 files changed, 7 insertions, 5 deletions
diff --git a/src/Gudhi_stat/include/gudhi/concretizations/Persistence_landscape_on_grid.h b/src/Gudhi_stat/include/gudhi/concretizations/Persistence_landscape_on_grid.h index 08b93a0a..d91b7431 100644 --- a/src/Gudhi_stat/include/gudhi/concretizations/Persistence_landscape_on_grid.h +++ b/src/Gudhi_stat/include/gudhi/concretizations/Persistence_landscape_on_grid.h @@ -992,6 +992,9 @@ public: /** * function used to create a gnuplot script for visualization of landscapes. Over here we need to specify which landscapes do we want to plot. + * In addition, the user may specify the range (min and max) where landscape is plot. The fefault values for min and max are std::numeric_limits<double>::max(). If the procedure detect those + * values, it will determine the range so that the whole landscape is supported there. If at least one min or max value is different from std::numeric_limits<double>::max(), then the values + * provided by the user will be used. **/ void plot( const char* filename , size_t from_ , size_t to_ )const { diff --git a/src/Gudhi_stat/include/gudhi/fill_in_missing_data.h b/src/Gudhi_stat/include/gudhi/fill_in_missing_data.h index d6ae6fe1..a9997aa2 100644 --- a/src/Gudhi_stat/include/gudhi/fill_in_missing_data.h +++ b/src/Gudhi_stat/include/gudhi/fill_in_missing_data.h @@ -70,7 +70,7 @@ void fill_in_missing_data( std::vector< Representation_of_topology* >& data , st while ( (is_the_position_filled_in[i+j] == false) && ( i+j != data.size() ) )++j; if ( dbg ) { - std::cout << "The position number : " << i << " is not filled in. The next filled-in position is : " << i+j << endl; + std::cout << "The position number : " << i << " is not filled in. The next filled-in position is : " << i+j << std::endl; } if ( i != 0 ) { @@ -86,7 +86,7 @@ void fill_in_missing_data( std::vector< Representation_of_topology* >& data , st is_the_position_filled_in[i+k] = true; if ( dbg ) { - cerr << "We fill in a position : " << i+k << " with: position " << i-1 << " with weight " << weight1 << " and position " << i+j << " with weight " << weight2 << endl; + std::cerr << "We fill in a position : " << i+k << " with: position " << i-1 << " with weight " << weight1 << " and position " << i+j << " with weight " << weight2 << std::endl; } } } @@ -115,7 +115,7 @@ void fill_in_missing_data( std::vector< Representation_of_topology* >& data , st is_the_position_filled_in[j-1] = true; if ( dbg ) { - cerr << "Filling in a position : " << j-1 << " by using: " << j << " and " << j+1 <<endl; + std::cerr << "Filling in a position : " << j-1 << " by using: " << j << " and " << j+1 <<std::endl; } } } @@ -132,7 +132,7 @@ void fill_in_missing_data( std::vector< Representation_of_topology* >& data , st is_the_position_filled_in[j] = true; if ( dbg ) { - cerr << "Filling in a position : " << j << " by using: " << j-1 << " and " << j-2 <<endl; + std::cerr << "Filling in a position : " << j << " by using: " << j-1 << " and " << j-2 <<std::endl; } } } diff --git a/src/Gudhi_stat/include/gudhi/permutation_test.h b/src/Gudhi_stat/include/gudhi/permutation_test.h index fa31c3c0..1618d7ef 100644 --- a/src/Gudhi_stat/include/gudhi/permutation_test.h +++ b/src/Gudhi_stat/include/gudhi/permutation_test.h @@ -31,7 +31,6 @@ #include <algorithm> #include <gudhi/read_persitence_from_file.h> -using namespace std; namespace Gudhi { |