libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
Go to the source code of this file.
Classes | |
class | jmmcg::LIBJMMCG_VER_NAMESPACE::mpl::sieve_of_eratosthenes< E, MN > |
Namespaces | |
namespace | jmmcg |
Link with -lrt to include these functions. | |
namespace | jmmcg::LIBJMMCG_VER_NAMESPACE |
namespace | jmmcg::LIBJMMCG_VER_NAMESPACE::dyn |
namespace | jmmcg::LIBJMMCG_VER_NAMESPACE::mpl |
Typedefs | |
typedef std::vector< unsigned long long > | jmmcg::LIBJMMCG_VER_NAMESPACE::dyn::primes_colln |
Functions | |
primes_colln | jmmcg::LIBJMMCG_VER_NAMESPACE::dyn::sieve_of_eratosthenes (primes_colln::size_type max_num) noexcept(false) |
Find all of the prime numbers in the range [2...max_num) using the Sieve of Eratosthenes. More... | |