QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Prime numbers calculator. More...
#include <primenumbers.hpp>
Static Public Member Functions | |
static BigNatural | get (Size absoluteIndex) |
Get and store one after another. More... | |
Private Member Functions | |
PrimeNumbers ()=default | |
Static Private Member Functions | |
static BigNatural | nextPrimeNumber () |
Static Private Attributes | |
static std::vector< BigNatural > | primeNumbers_ |
Prime numbers calculator.
Taken from "Monte Carlo Methods in Finance", by Peter Jäckel
Definition at line 45 of file primenumbers.hpp.
|
privatedefault |
|
static |
Get and store one after another.
Definition at line 47 of file primenumbers.cpp.
|
staticprivate |
|
staticprivate |
Definition at line 52 of file primenumbers.hpp.