math.primes vocabulary - Factor Documentation (original) (raw)
math.primes vocabulary
Factor handbook » Vocabulary index
Documentation
Prime numbers
Metadata
Parents: | math |
---|---|
Tags: | math |
Authors: | Samuel Tardieu |
Words
Tuple classes
Class | Superclass | Slots |
---|---|---|
![]() |
![]() |
n |
![]() |
![]() |
n numbits |
Ordinary words
Word | Stack effect |
---|---|
![]() |
( a b -- ? ) |
![]() |
( m -- n ) |
![]() |
( n -- p ) |
![]() |
( n guess -- p ) |
![]() |
( n -- p ) |
![]() |
( n -- * ) |
![]() |
( n -- seq ) |
![]() |
( n -- ? ) |
![]() |
( low high -- seq ) |
![]() |
( n -- seq ) |
![]() |
( numbits -- p ) |
![]() |
( n numbits -- * ) |
![]() |
( n numbits -- seq ) |
Class predicate words
Word | Stack effect |
---|---|
![]() |
( object -- ? ) |
![]() |
( object -- ? ) |
Files
resource:basis/math/primes/primes.factor
resource:basis/math/primes/primes-docs.factor
resource:basis/math/primes/primes-tests.factor
Metadata files
resource:basis/math/primes/authors.txt
resource:basis/math/primes/summary.txt
resource:basis/math/primes/tags.txt
Children from resource:basis
Vocabulary | Summary |
---|---|
![]() |
|
![]() |
Eratosthene sieve |
![]() |
Prime factors decomposition |
![]() |
|
![]() |
Miller-Rabin probabilistic primality test |
![]() |
|
![]() |
Children from resource:extra
Vocabulary | Summary |
---|---|
![]() |
Infinite stream of prime numbers through lazy lists |
![]() |
|
![]() |