Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
PrimeTable Class Referenceabstract

#include <prime_tables.h>

Inheritance diagram for PrimeTable:

Public Member Functions

virtual ~PrimeTable ()
 
virtual bool IsPrime (int n) const =0
 
virtual int GetNextPrime (int p) const =0
 

Detailed Description

Definition at line 43 of file prime_tables.h.

Constructor & Destructor Documentation

◆ ~PrimeTable()

virtual PrimeTable::~PrimeTable ( )
inlinevirtual

Definition at line 45 of file prime_tables.h.

45{}

Member Function Documentation

◆ GetNextPrime()

virtual int PrimeTable::GetNextPrime ( int p) const
pure virtual

◆ IsPrime()

virtual bool PrimeTable::IsPrime ( int n) const
pure virtual

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