Function ADS::shellGaps

Function Documentation

inline std::vector<std::size_t> ADS::shellGaps(std::size_t n)

the gaps 1 , … , n / 4 , n / 2 of Shell, increasing

Post:

the gaps start from 1 and increase