Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
OnTheFlyPrimeTable Class Reference

#include <prime_tables.h>

Inheritance diagram for OnTheFlyPrimeTable:
Inheritance graph
[legend]

Public Member Functions

bool IsPrime (int n) const override
 
int GetNextPrime (int p) const override
 
- Public Member Functions inherited from PrimeTable
virtual ~PrimeTable ()
 

Detailed Description

Definition at line 55 of file prime_tables.h.

Member Function Documentation

bool OnTheFlyPrimeTable::IsPrime ( int  n) const
inlineoverridevirtual

Implements PrimeTable.

Definition at line 57 of file prime_tables.h.

int OnTheFlyPrimeTable::GetNextPrime ( int  p) const
inlineoverridevirtual

Implements PrimeTable.

Definition at line 68 of file prime_tables.h.


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