mathslib is a compilation of Mathematical Functions and Algorithms. Unless credit was given all of the functions were written by me. Relevant articles are also linked where the implementation is complex.
I have used most of these for Project Euler.
See my website ivl-projecteuler.com for their implementation
See the full documentation here
numtheory.py |
|
primes.py |
|
divisors.py |
|
linalg.py |
|
fib.py |
|
algorithms.py |
|
simple.py |
|