Samples elements from a list such that the distance between the sampled elements is as equal as possible.
If the number of elements to sample is greater or equal to the number of elements in the list, the list is returned as is.
If the number of elements to sample is less than or equal to 0, an empty list is returned.
Samples elements from a list such that the distance between the sampled elements is as equal as possible.
If the number of elements to sample is greater or equal to the number of elements in the list, the list is returned as is. If the number of elements to sample is less than or equal to 0, an empty list is returned.