openGPMP
Open Source Mathematics Package
Static Public Member Functions | List of all members
gpmp::PrimalityGen Class Reference

#include <prime_gen.hpp>

Static Public Member Functions

static std::vector< int > sieve_of_eratosthenes (int n)
 

Detailed Description

Definition at line 41 of file prime_gen.hpp.

Member Function Documentation

◆ sieve_of_eratosthenes()

std::vector< int > gpmp::PrimalityGen::sieve_of_eratosthenes ( int  n)
static

Definition at line 49 of file prime_gen.cpp.

49  {
50  return _Z19sieveOfEratosthenesi(n);
51 }
std::vector< int > _Z19sieveOfEratosthenesi(int n)

References _Z19sieveOfEratosthenesi().

Referenced by main().


The documentation for this class was generated from the following files: