Skip to main content

Python module to do polynomial division

Python module to do polynomial division

Usage

Calculate the division of two polynomials

The solutions is a symexpress3 object

>>> import sym3polynomialdivision
>>> objPolyDiv = sym3polynomialdivision.Sym3PolynomialDivision()
>>> objPolyDiv.formula1 = "x^^3 - 2 x^^2 - 4"
>>> objPolyDiv.formula2 = "x^^2 - 3"
>>> objPolyDiv.calcDivision()
>>> print( f"Result: {objPolyDiv.divisionOptimized}\n" )
Result: x + (-2) + (x^^2 + (-3))^^-1 * 3 * x + (x^^2 + (-3))^^-1 * (-10)

Options

Options for the resultant

>>> import sym3polynomialdivision
>>> objPolyDiv = sym3polynomialdivision.Sym3PolynomialDivision()
>>> objPolyDiv.formula1 = "y^^3 - 2 y^^2 - 4"
>>> objPolyDiv.formula2 = "y^^2 - 3"
>>> objPolyDiv.variable = "y"
>>> objPolyDiv.calcDivision()
>>> print( f"Quotient: {objPolyDiv.quotient}  Remainder: {objPolyDiv.remainder}\n" )
Quotient: x + (-2)  Remainder: 3 * x + (-10)

Command line

python -m sym3polynomialdivision

  • Help: python -m sym3polynomialdivision -h
  • Division: python -m sym3polynomialdivision "x^^3 - 2 x^^2 - 4" "x^^2 - 3"

Graphical user interface

https://github.com/SWVandenEnden/websym3

Metadata

Release files for sym3polynomialdivision 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sym3polynomialdivision 0.0.3
File Size Uploaded Provenance Actions
sym3polynomialdivision-0.0.3.tar.gz 26.0 kB Without provenance Details for sym3polynomialdivision-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sym3polynomialdivision 0.0.3
File Interpreter ABI Platform Actions
sym3polynomialdivision-0.0.3-py3-none-any.whl Python 3 none any Details for sym3polynomialdivision-0.0.3-py3-none-any.whl

Total release size: 46.4 kB

Release files / sym3polynomialdivision-0.0.3.tar.gz

Download URL sym3polynomialdivision-0.0.3.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9833ab2a1fc84ccbaafe231fb00fa43d69f451fefd65615eebb320a94fb05c7d
BLAKE2b-256 checksum
How to use checksums
725ddd8b73aab4050983c8051eeed8b134bdeaba5524e6218bebe02646e45cf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / sym3polynomialdivision-0.0.3-py3-none-any.whl

Download URL sym3polynomialdivision-0.0.3-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fe198dd95bf6ff3e7095ae0904312e309f5703cd79daec3c89146a1477b2c7d
BLAKE2b-256 checksum
How to use checksums
60b6cfb76c2167819d12021262437f891b066bf159f0c6a6183569182a43e4be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for sym3polynomialdivision 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page