diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2020-10-22 22:23:28 +0200 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2020-10-22 22:45:10 +0200 |
commit | dda7885005c343601c6630796eb56bdcf91a559f (patch) | |
tree | a52cf02957708d8bf6b3e81f769c6fc8709f17c8 /src/Subsampling | |
parent | c66b9126429e1ff18f9ca69b27c5f357f071a697 (diff) |
Document the change
It would be possible to emit the duplicate points instead of stopping,
but the current implementation makes that inconvenient.
Diffstat (limited to 'src/Subsampling')
-rw-r--r-- | src/Subsampling/include/gudhi/choose_n_farthest_points.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Subsampling/include/gudhi/choose_n_farthest_points.h b/src/Subsampling/include/gudhi/choose_n_farthest_points.h index 38c3a76b..0e13fc5a 100644 --- a/src/Subsampling/include/gudhi/choose_n_farthest_points.h +++ b/src/Subsampling/include/gudhi/choose_n_farthest_points.h @@ -48,7 +48,8 @@ enum : std::size_t { * \tparam PointOutputIterator Output iterator whose value type is Kernel::Point_d. * \tparam DistanceOutputIterator Output iterator for distances. * \details It chooses `final_size` points from a random access range - * `input_pts` and outputs them in the output iterator `output_it`. It also + * `input_pts` (or the number of distinct points if `final_size` is larger) + * and outputs them in the output iterator `output_it`. It also * outputs the distance from each of those points to the set of previous * points in `dist_it`. * @param[in] k A kernel object. |