Aardvark.Base


Prime

Static members

Static memberDescription
InverseWithIndex(primeIndex)
Signature: primeIndex:int -> float

Returns the inverse of the prime number with the supplied index. Indices start at zero and the first prime number is 2. Thus 'Prime.InverseWithIndex(0) == 0.5'.

IsTrueFor(value)
Signature: value:int64 -> bool
WithIndex(primeIndex)
Signature: primeIndex:int -> int

Returns the prime number with the supplied index. Indices start at zero and the first prime number is 2. Thus 'Prime.WithIndex(0) == 2'.

Fork me on GitHub