Qucs-core
0.0.19
|
#include <prime_tables.h>
Public Member Functions | |
virtual | ~PrimeTable () |
virtual bool | IsPrime (int n) const =0 |
virtual int | GetNextPrime (int p) const =0 |
Definition at line 43 of file prime_tables.h.
virtual PrimeTable::~PrimeTable | ( | ) | [inline, virtual] |
Definition at line 45 of file prime_tables.h.
virtual int PrimeTable::GetNextPrime | ( | int | p | ) | const [pure virtual] |
Implemented in PreCalculatedPrimeTable, and OnTheFlyPrimeTable.
virtual bool PrimeTable::IsPrime | ( | int | n | ) | const [pure virtual] |
Implemented in PreCalculatedPrimeTable, and OnTheFlyPrimeTable.