some numeric functions; currently primes() and factors()
Project description
A few ad hoc numeric alogrithms: factors
and primes
.
Function factors(n)
Generator yielding the prime factors of n
in order from lowest to highest.
Function primes()
Generator yielding the primes in order starting at 2.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cs.numeric-20190309.tar.gz
(1.7 kB
view hashes)