| Crates.io | ellippy_binding |
| lib.rs | ellippy_binding |
| version | 0.1.0 |
| created_at | 2025-10-13 05:19:02.824976+00 |
| updated_at | 2025-10-13 05:19:02.824976+00 |
| description | Rust-to-Python binding for EllipPy |
| homepage | https://github.com/p-sira/ellippy |
| repository | https://github.com/p-sira/ellippy |
| max_upload_size | |
| id | 1880054 |
| size | 17,702 |
EllipPy is an elliptic integral library, powered by Rust. All functions support numpy and parallelization. EllipPy features high accuracy and performance. For more details on testing and benchmarks, please refer to ellip.
from ellippy import *
import numpy as np
ellipk(m=np.array([0.1, 0.2, 0.3, 0.4, 0.5])) # [1.61244135 1.6596236 1.71388945 1.77751937 1.85407468]
ellippiinc(n=0.1, phi=np.pi / 4, m=0.25) # 0.1003043379500434
cel(kc=0.5, p=0.1, a=1.0, b=-1.0) # -5.2310275365518795
elliprf(x=[0.1, 0.2, 0.3], y=[0.2, 0.4, 0.8], z=[0.3, 0.5, 0.7]) # [2.29880489 1.68455225 1.32157804]
jacobi_zeta(phi=np.pi / 3, m=0.5) # 0.13272240254017148
To install EllipPy using pip:
pip install ellippy
ellipk: Complete elliptic integral of the first kind (K).ellipe: Complete elliptic integral of the second kind (E).ellippi: Complete elliptic integral of the third kind (Π).ellipd: Complete elliptic integral of Legendre's type (D).ellipf: Incomplete elliptic integral of the first kind (F).ellipeinc: Incomplete elliptic integral of the second kind (E).ellippiinc: Incomplete elliptic integral of the third kind (Π).ellipdinc: Incomplete elliptic integral of Legendre's type (D).cel: General complete elliptic integral in Bulirsch's form.cel1: Complete elliptic integral of the first kind in Bulirsch's form.cel2: Complete elliptic integral of the second kind in Bulirsch's form.el1: Incomplete elliptic integral of the first kind in Bulirsch's form.el2: Incomplete elliptic integral of the second kind in Bulirsch's form.el3: Incomplete elliptic integral of the third kind in Bulirsch's form.elliprf: Symmetric elliptic integral of the first kind (RF).elliprg: Symmetric elliptic integral of the second kind (RG).elliprj: Symmetric elliptic integral of the third kind (RJ).elliprc: Degenerate elliptic integral of RF (RC).elliprd: Degenerate elliptic integral of the third kind (RD).jacobi_zeta: Jacobi Zeta function (Z).heuman_lambda: Heuman Lambda function (Λ0).