Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Namespaces | Functions
NCollection_Primes.hxx File Reference
#include <Standard_Macro.hxx>
#include <cstddef>

Namespaces

namespace  NCollection_Primes
 Namespace provides a collection of prime numbers.
 

Functions

size_t NCollection_Primes::NextPrimeForMap (const size_t theN) noexcept
 Returns the next prime number greater than or equal to theN. If theN exceeds the largest available prime, returns theN + 1.