std::vector< Point< T, N > > random(size_t count, const std::array< std::pair< T, T >, N > &axis_ranges, std::optional< unsigned int > seed=std::nullopt)
Generates a specified number of uniformly distributed random points in N-dimensional space.
Definition random.hpp:66
std::vector< Point< T, N > > random_rejection_filter(const std::vector< Point< T, N > > &points, std::size_t target_count)
Randomly retains a fixed number of points from the input set.
Definition random_rejection_filter.hpp:37