Skip to main content

A Python module to calculate the resultant of two polynomials

Project description

Python module to calculate the resultant of two polynomials

Python module to calculate the resultant of two polynomials

Usage

Calculate resultant of two polynomials

The solutions is a symexpress3 object

>>> import sym3resultant
>>> objResultant = sym3resultant.Sym3Resultant()
>>> objResultant.formula1 = "x^^2+x+1"
>>> objResultant.formula2 = "x^^2+2x+2"
>>> objResultant.calcResultant()
>>> print( f"Resultant: {objResultant.resultant}\n" )
Resultant: 1

Options

Options for the resultant

>>> import sym3resultant
>>> objResultant = sym3resultant.Sym3Resultant()
>>> objResultant.formula1 = "y^^2+y+1"
>>> objResultant.formula2 = "y^^2+2y+2"
>>> objResultant.variable = "y"
>>> objResultant.calcResultant()
>>> print( f"Resultant: {objResultant.resultant}\n" )
Resultant: 1

Command line

python -m sym3resultant

  • Help: python -m sym3resultant -h
  • Resultant: python -m sym3resultant "x^^2+x+1" "x^^2+2x+2"

Graphical user interface

https://github.com/SWVandenEnden/websym3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sym3resultant-0.0.1.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sym3resultant-0.0.1-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file sym3resultant-0.0.1.tar.gz.

File metadata

  • Download URL: sym3resultant-0.0.1.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for sym3resultant-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d4e62e96b28a2f5cf0ea2dd3a679ffc4623a83084401fcd205ba24a412371060
MD5 a5ead51c5f141ea30d4b7a2ae98939d9
BLAKE2b-256 4ad28471865028a2ffb5e048f5d847377238f5f6104d954858dcee6c911cf5bb

See more details on using hashes here.

File details

Details for the file sym3resultant-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sym3resultant-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for sym3resultant-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 708f8da64ce13f95ae7ffb7cc74623b9f6f216cfd0b40769519aeb3d97ed82de
MD5 7d141da11626304477d3c15032996536
BLAKE2b-256 49c47b61389b700fa7dc8f716990f218246e5641d922922bc0391e13d8eda1a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page