Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OnTheFlyPrimeTable Class Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googletest/samples/prime_tables.h>

+ Inheritance diagram for OnTheFlyPrimeTable:
+ Collaboration diagram for OnTheFlyPrimeTable:

Public Member Functions

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

Detailed Description

Definition at line 56 of file prime_tables.h.

View newest version in sPHENIX GitHub at line 56 of file prime_tables.h

Member Function Documentation

virtual int OnTheFlyPrimeTable::GetNextPrime ( int  p) const
inlinevirtual

Implements PrimeTable.

Definition at line 69 of file prime_tables.h.

View newest version in sPHENIX GitHub at line 69 of file prime_tables.h

References IsPrime(), and n.

+ Here is the call graph for this function:

virtual bool OnTheFlyPrimeTable::IsPrime ( int  n) const
inlinevirtual

Implements PrimeTable.

Definition at line 58 of file prime_tables.h.

View newest version in sPHENIX GitHub at line 58 of file prime_tables.h

References i, and n.

Referenced by GetNextPrime().

+ Here is the caller graph for this function:


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