Go to the source code of this file.
|
| template<typename T , size_t N> |
| std::vector< Point< T, N > > | ps::gaussian_clusters (std::vector< Point< T, N > > cluster_centers, size_t points_per_cluster, T spread, std::optional< unsigned int > seed=std::nullopt) |
| | Generates clustered points around provided cluster centers using a Gaussian distribution.
|
| |
| template<typename T , size_t N> |
| std::vector< Point< T, N > > | ps::gaussian_clusters (size_t cluster_count, size_t points_per_cluster, const std::array< std::pair< T, T >, N > &axis_ranges, T spread, std::optional< unsigned int > seed=std::nullopt) |
| | Generates clustered points around random centers uniformly sampled in a bounding box.
|
| |