Continuedfractions 0.17.6 | Coderz Repository

continuedfractions 0.17.6

Last updated:

0 purchases

continuedfractions 0.17.6 Image
continuedfractions 0.17.6 Images

Free

Languages

Categories

Add to Cart

Description:

continuedfractions 0.17.6

continuedfractions
A simple extension of the Python fractions standard library for working with (finite, simple) continued fractions as Python objects.
The PyPI package is updated as necessary with improvements, features and fixes. Only standard libraries are used, and the package can be installed on any Linux, Mac OS or Windows platform supporting Python 3.10, 3.11, or 3.12.
pip install -U continuedfractions

See the project docs for more details, which includes the API reference.
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 for users interested in:

learning about and working with (finite, simple) continued fractions as Python objects, in an intuitive object-oriented way
exploring their key properties, such as elements/coefficients, convergents, semiconvergents, remainders, and others
operating on them as rationals and instances of the standard library fractions.Fraction class
making approximations of and experimental computations for irrational numbers
exploring other related objects, such as mediants, and special sequences of rational numbers such as Farey sequences

Currently, it does not support the following features:

infinite and generalised continued fractions
symbolic representations of or operations with continued fractions

Some - but not necessarily all - of these features may be considered for future release.
The project is licensed under the Mozilla Public License 2.0.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.