Skip to main content

Python Tschirnhaus transformation module

A Python module for the Tschirnhaus transformation

Usage

Do the Tschirnhaus transformation

The solutions is a symexpress3 object

>>> import sym3tschirnhaus
>>> objTschirnhaus = sym3tschirnhaus.Sym3Tschirnhaus()
>>> objTschirnhaus.startFormula = "2 x^^4 + 3 x^^3 + 4 x^^2 + 5 x^^1 + 6"
>>> objTschirnhaus.calcTschirnhausTransformation()
>>> print( f"Tschirnhaus transformation: {objTschirnhaus.getFormulaDepressed()}\n" )
Tschirnhaus transformation: 4 * x2^^4 + x2 * (4388530/50653) + (4252423075/29986576) + x2 * (5/2)^^(1/2) * (-383565/50653) + (5/2)^^(1/2) * (-49204155/1874161)

Options

Options for the Tschirnhaus transformation

>>> import sym3tschirnhaus
>>> objTschirnhaus = sym3tschirnhaus.Sym3Tschirnhaus()
>>> objTschirnhaus.steps = 2
>>> objTschirnhaus.variable = "x"
>>> objTschirnhaus.startFormula = "2 x^^4 + 3 x^^3 + 4 x^^2 + 5 x^^1 + 6"
>>> objTschirnhaus.calcTschirnhausTransformation()
>>> for iIndex in range( 0, objTschirnhaus.numberOfTransformations): print( f"Depressed: {objTschirnhaus.getFormulaDepressed(iIndex)}, reversed: {objTschirnhaus.getFormulaReversed(iIndex)}")
Depressed: (9357/2048) + 2 * x1^^4 + x1^^2 * (37/16) + x1 * (91/32), reversed: x1 + (-1) * x + (-3/8)
Depressed: 4 * x2^^4 + x2 * (4388530/50653) + (4252423075/29986576) + x2 * (5/2)^^(1/2) * (-383565/50653) + (5/2)^^(1/2) * (-49204155/1874161), reversed: x2 + (-1) * x1^^2 + (-37/64) + (273/148) * x1 + (-4/37) * x1 * (5/2)^^(1/2)

Command line

python -m sym3tschirnhaus

  • Help: python -m sym3tschirnhaus -h
  • Tschirnhaus transformation: python -m sym3tschirnhaus "2 x^^4 + 3 x^^3 + 4 x^^2 + 5 x^^1 + 6"

Graphical user interface

https://github.com/SWVandenEnden/websym3

Metadata

Release files for sym3tschirnhaus 0.0.2

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

Source distribution (sdist)

Source distribution for sym3tschirnhaus 0.0.2
File Size Uploaded Provenance Actions
sym3tschirnhaus-0.0.2.tar.gz 31.1 kB Without provenance Details for sym3tschirnhaus-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 55.9 kB

Release files / sym3tschirnhaus-0.0.2.tar.gz

Download URL sym3tschirnhaus-0.0.2.tar.gz
Size 31.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f1c54ed4c7e9b89a22626fb7d2499e2f58e9c8a46a2d1c12038b46a6e24b9ce3
BLAKE2b-256 checksum
How to use checksums
886c4533a6b5f3aa36bbbd2ee069b98ccc89b06d8ee28370f1e2f36dd88dca80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / sym3tschirnhaus-0.0.2-py3-none-any.whl

Download URL sym3tschirnhaus-0.0.2-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
625eac7239213189eb0e5112813b92c4247226e8e79ac19672fffe2cf451a108
BLAKE2b-256 checksum
How to use checksums
dd208d9b3f962d891e7f0ea9e5f481fdff251ab6c8041c0f64a276e0853c7538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for sym3tschirnhaus 0.0.2

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