Function ADS::knuthGaps
Defined in File ShellSort.h
Function Documentation
-
inline std::vector<std::size_t> ADS::knuthGaps(std::size_t n)
the gaps 1 , 4 , 13 , 40 , … below n, increasing
- Post:
the gaps start from 1 and increase
Defined in File ShellSort.h
the gaps 1 , 4 , 13 , 40 , … below n, increasing
the gaps start from 1 and increase