Function ADS::next_prime

Function Documentation

std::size_t ADS::next_prime(std::size_t n)

the smallest prime not smaller than n