PrimesGenerator

fr.janalyse.primes.PrimesGenerator
class PrimesGenerator[NUM](implicit numops: Integral[NUM]) extends PrimesDefinitions[NUM]

Attributes

Graph
Supertypes
class PrimesDefinitions[NUM]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def candidates: Iterator[NUM]
def candidatesAfter(thatValue: NUM): Iterator[NUM]
def checkedValues(foundLastPrime: Option[CheckedValue[NUM]], foundLastNotPrime: Option[CheckedValue[NUM]]): Iterator[CheckedValue[NUM]]
def checkedValues: Iterator[CheckedValue[NUM]]
def distances: Iterator[NUM]
def integers: Iterator[NUM]
def integersFrom(thatValue: NUM): Iterator[NUM]
def isolatedPrimes: Iterator[NUM]
def mersennePrimes: Iterator[NUM]
def notPrimes: Iterator[NUM]
def notPrimesAfter(thatValue: NUM): Iterator[NUM]
def primes: Iterator[NUM]
def primesAfter(thatValue: NUM): Iterator[NUM]
def sexyPrimes: Iterator[NUM]
def twinPrimes: Iterator[NUM]

Inherited methods

final def eratosthenesSieve(limit: NUM): List[CheckedValue[NUM]]

Attributes

Inherited from:
PrimesDefinitions
def factorize(value: NUM, primesGetter: => Iterator[NUM]): Option[List[NUM]]

Attributes

Inherited from:
PrimesDefinitions
def isIsolatedPrime(v: NUM, primeTest: NUM => Boolean): Boolean

Attributes

Inherited from:
PrimesDefinitions
def isMersennePrimeExponent(v: NUM, primeTest: NUM => Boolean): Boolean

Attributes

Inherited from:
PrimesDefinitions
final def isPrime(v: NUM): Boolean

Attributes

Inherited from:
PrimesDefinitions
final def isPrimePara(v: NUM)(implicit ec: ExecutionContext): Boolean

Attributes

Inherited from:
PrimesDefinitions
def isSexyPrime(v: NUM, primeTest: NUM => Boolean): Boolean

Attributes

Inherited from:
PrimesDefinitions
def isTwinPrime(v: NUM, primeTest: NUM => Boolean): Boolean

Attributes

Inherited from:
PrimesDefinitions
final def pow(n: NUM, p: NUM): NUM

Attributes

Inherited from:
PrimesDefinitions
def sacksInspiredSpiral(size: Int, interval: Int, values: Iterator[CheckedValue[NUM]]): BufferedImage

Attributes

Inherited from:
PrimesDefinitions
def sacksInspiredSpiralToPngFile(size: Int, interval: Int, values: Iterator[CheckedValue[NUM]], filename: String): Boolean

Attributes

Inherited from:
PrimesDefinitions
final def sqrt(number: NUM): NUM

Attributes

Inherited from:
PrimesDefinitions
def ulamSpiral(size: Int, values: Iterator[CheckedValue[NUM]]): BufferedImage

Attributes

Inherited from:
PrimesDefinitions
def ulamSpiralToPngFile(size: Int, values: Iterator[CheckedValue[NUM]], filename: String): Boolean

Attributes

Inherited from:
PrimesDefinitions

Inherited fields

val coresCount: NUM

Attributes

Inherited from:
PrimesDefinitions