allexks/py-polynomial

Created Dec 28, 2020 · View the allexks/py-polynomial repository page

A python package attempting to fully implement single-variable polynomials and methods related to them.

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

4

Lines of Code

408

From

Jun 21, 2018

To

Dec 27, 2020

About allexks/py-polynomial

py-polynomial is a Python package that provides a comprehensive implementation of single-variable polynomials and mathematical operations on them. The package allows users to work with polynomials through flexible initialization, making it easy to define polynomial expressions programmatically. It is distributed through PyPI and can be installed via pip.

The package supports a wide range of polynomial operations including addition, multiplication, division with remainder, derivatives of any order, and definite integrals. Users can evaluate polynomials at specific values, access coefficients by degree or by name convention, perform slicing operations, and check for the presence of specific terms. The package also includes functionality for finding roots and calculating discriminants, which are essential for analyzing polynomial properties.

The project is built on Python with support for NumPy and SciPy, making it suitable for scientific and mathematical computing workflows. It includes code quality tracking through CodeFactor and CodeCov, and maintains comprehensive documentation generated from the code itself. The package targets students, educators, and developers working with polynomial mathematics who need a pure Python solution for polynomial manipulation.

Share this video