Object-oriented continued fractions with Python.
-
Updated
Apr 14, 2025 - Python
Object-oriented continued fractions with Python.
Approximate a decimal number or fraction with bounded nominator and denominator.
A Clojure namespace, and Haskell and Python modules, exporting a dozen of functions coded after several selected formulas presented in Farey Sequences: Duality and Maps Between Subsequences, by A.O. Matveev, De Gruyter, 2017.
Convert decimal numbers and fractions to or from regular continued fractions.
Add a description, image, and links to the farey-sequence topic page so that developers can more easily learn about it.
To associate your repository with the farey-sequence topic, visit your repo's landing page and select "manage topics."