Template Function ADS::bucketSort

Function Documentation

template<std::floating_point T>
void ADS::bucketSort(std::vector<T> &A)

the bucket sort of numbers in [ 0 , 1 )

Pre:

each number is in [ 0 , 1 )

Post:

A is sorted, with the same items (an audit)