1-dimensional k-means clustering c++

Good to know. Thanks!