Skip to main content

A library for elliptic functions

Project description

License: GPL v3

Elliptix

A library of algorithms for evaluating elliptic functions of a complex argument.

Installation

To install Elliptix, run the following command in your terminal:

pip install elliptix

Documentation

As of right now, the documentation is handled through function Docstrings in the source file.

Implemented Functions

— The Jacobi Theta functions: $\theta_n(z, q);;;n=1, 2, 3, 4$

jacobi_theta(n, z, q)

— The natural logarithm of the Jacobi Theta functions: $\log(\theta_n(z, q));;;n=1, 2, 3, 4$

log_jacobi_theta(n, z, q)

— The Weierstrass elliptic functions: $\weierp(z; g_2, g_3), \weierp'(z; g_2, g_3), \weierp^{-1}(w; g_2, g_3), \sigma(z; g_2, g_3), \zeta(z; g_2, g_3)$

weierstrass_p(z, g2, g3)
weierstrass_p_prime(z, g2, g3)
inverse_weierstrass_p(z, g2, g3)
weierstrass_sigma(z, g2, g3)
weierstrass_zeta(z, g2, g3)

— The conversion functions between the modulus $k,$ the parameter $m,$ the half-period ratio $\tau,$ the nome $q,$ the lattice roots $e_1, e_2, e_3,$ the invariants $g_2, g_3,$ the half-periods $\omega_1, \omega_2, \omega_3,$ and the values of the Weierstrass $\zeta$ function at the half-periods $\eta_1, \eta_2, \eta_3$

modulus_k(...)
parameter_m(...)
half_period_ratio_tau(...)
nome_q(...)
weierstrass_e(...)
weierstrass_g(...)
weierstrass_w(...)
weierstrass_eta(...)

— Modular functions: $J(\tau)$, $J^{-1}(\tau)$, $\lambda(\tau)$, $\eta(\tau)$, $\eta'(\tau)$, $G_n(q)$, $E_n(q)$, $\phi(q)$

klein_j(tau)
inverse_klein_j(tau)
modular_lambda(tau)
dedekind_eta(tau)
dedekind_eta_prime(tau)
eisenstein_g(n, q)
eisenstein_e(n, q)
euler_phi(q)

— The Jacobi elliptic functions: $\operatorname{sn}(u, m), \operatorname{cn}(u, m), \operatorname{dn}(u, m), \operatorname{am}(u, m), ...$ and their inverses: $\operatorname{sn}^{-1}(w, m), \operatorname{cn}^{-1}(w, m), ...$

jacobi_ellipfun("sn", u, m)
jacobi_ellipfun("cn", u, m)
jacobi_ellipfun("dn", u, m)
jacobi_ellipfun("am", u, m)
...
inverse_jacobi_ellipfun("sn", u, m)
inverse_jacobi_ellipfun("cn", u, m)
...

— The Neville Theta functions: $\theta_c(u, m), \theta_d(u, m), \theta_n(u, m), \theta_s(u, m)$

neville_theta_c(u, m)
neville_theta_d(u, m)
neville_theta_n(u, m)
neville_theta_s(u, m)

— The Lemniscate elliptic functions: $\operatorname{sinlem}(z), \operatorname{coslem}(z), \operatorname{sinhlem}(z), \operatorname{coshlem}(z)$ and their inverses: $\operatorname{arcsinlem}(z), \operatorname{arccoslem}(z), \operatorname{arcsinhlem}(z), \operatorname{arccoshlem}(z)$

sinlem(z)
coslem(z)
sinhlem(z)
arcsinlem(z)
arcsinhlem(z)
...

Citation

@misc{elliptix,
  author       = {Rudolf Rosendorf},
  title        = {Elliptix: Algorithms for elliptic functions},
  month        = {June},
  year         = {2026},
  publisher    = {GitHub},
  journal      = {GitHub repository},
  howpublished = {\url{https://github.com/Ruda975/elliptix}}
}

References

  • [DLMF] NIST Digital Library of Mathematical Functions. https://dlmf.nist.gov/, Release 1.2.6 of 2026-03-15. F. W. J. Olver, A. B. Olde Daalhuis, D. W. Lozier, B. I. Schneider, R. F. Boisvert, C. W. Clark, B. R. Miller, B. V. Saunders, H. S. Cohl, and M. A. McClain, eds.

  • Weisstein, E. W. (n.d.). MathWorld. Wolfram Research. https://mathworld.wolfram.com/.

  • The Mathematical Functions Site. Wolfram Research, Inc., https://functions.wolfram.com/.

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

elliptix-1.1.0.tar.gz (54.1 kB view details)

Uploaded Source

Built Distribution

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

elliptix-1.1.0-py3-none-any.whl (54.4 kB view details)

Uploaded Python 3

File details

Details for the file elliptix-1.1.0.tar.gz.

File metadata

  • Download URL: elliptix-1.1.0.tar.gz
  • Upload date:
  • Size: 54.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for elliptix-1.1.0.tar.gz
Algorithm Hash digest
SHA256 560bad1b771b1a21c76660f83330c37d2364ef0770b5ed3350b409c9a8230649
MD5 2afc6eb6fd91b68348bfe0427830df90
BLAKE2b-256 a843113dfdc28628741ac62314a3eb873bf421e4028a0c4257fdd1beeb2188c0

See more details on using hashes here.

File details

Details for the file elliptix-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: elliptix-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 54.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for elliptix-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0eb1caa730d199a3964d741fbdaefb01d58421d16ad543733740eb9bdb97cfc1
MD5 ec50e793ce777b8cb110bb4018f4dbed
BLAKE2b-256 254b40b8dc8f226e34295be5e110ba12b5cdd94271dc149844e5ed5bc6b5c510

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