Continued fractions with Python
Project description
continuedfractions
A simple extension of the Python fractions
standard library for working with continued fractions as Python objects.
Continued fractions are beautiful and interesting mathematical objects, with many connections in number theory and also very useful practical applications, including the rational approximation of real numbers.
The continuedfractions
package is designed to:
- make it easy to construct (finite) continued fractions as Python objects
- explore their key properties, such as elements/coefficients, convergents, segments, remainders, and others
- operate on them as rationals and instances of the standard library
fractions.Fraction
class
The project is licensed under the Mozilla Public License 2.0.
See the project docs for more details.
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
continuedfractions-0.11.1.tar.gz
(21.8 kB
view hashes)
Built Distribution
Close
Hashes for continuedfractions-0.11.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48cb7d0b5975a6a9f370a75cabe352921e41fa7fa821c46917e1e34f641e8a7f |
|
MD5 | e797d31382753c66dc61dbae3f0bce9c |
|
BLAKE2b-256 | 4c78437c1f6cdeddf0d4ceb50a0f2c5dd0825fb637552f3b5abf05da12be767e |
Close
Hashes for continuedfractions-0.11.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dd9c184f7c6bc246317f382fe0d2e898a3b76b721164e892dddf11ac719af39 |
|
MD5 | ee8cc7a2bf5f697eaf0521e5516dfd17 |
|
BLAKE2b-256 | 544020136b9a180ab95a3e953e9d8b3259ce2f08114e8c52507ef48c0aac4a7f |