Function ADS::blocksOf

Function Documentation

inline std::pair<std::size_t, std::size_t> ADS::blocksOf(std::size_t first, std::size_t last, std::size_t grain = kGrain)

the blocks of [ first , last ) with at least grain indices each, at most kBlocks of them: their number, and the size of all but the last