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.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 sym3tschirnhaus 0.0.3
File Size Uploaded Provenance Actions
sym3tschirnhaus-0.0.3.tar.gz 31.4 kB Without provenance Details for sym3tschirnhaus-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 56.4 kB

Release files / sym3tschirnhaus-0.0.3.tar.gz

Download URL sym3tschirnhaus-0.0.3.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2a133b224c58a7d2eabfaf3b947b54ef31f0d4f73c734774406898ff7e4ebef7
BLAKE2b-256 checksum
How to use checksums
9db9353ea41b2d1f9bbbe5d123d6138de465051592c5bd4b8002a75505e44be3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

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

Download URL sym3tschirnhaus-0.0.3-py3-none-any.whl
Size 25.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f679de877d935cd6657971c691e7702b5a3f3d023b7f87a84af9b0409a6e64f5
BLAKE2b-256 checksum
How to use checksums
8f3937f1d68f3077e61c5f4d533fd08c1600f47f7f99fa11cee79c28199314e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for sym3tschirnhaus 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