Options
All
  • Public
  • Public/Protected
  • All
Menu

Prime numbers calculator

Taken from "Monte Carlo Methods in Finance", by Peter Jäckel

Hierarchy

  • PrimeNumbers

Index

Properties

Methods

Properties

Static _primeNumbers

_primeNumbers: BigNatural[] = []

Methods

Static get

  • Get and store one after another.

    Parameters

    • absoluteIndex: Size

    Returns BigNatural

Static nextPrimeNumber

  • Returns BigNatural