JacobiCD
The Jacobi elliptic function (Glaisher's notation), in Wolfram/mpmath's convention.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
JacobiCD!JacobiCD(u, m)the Jacobi elliptic function cd, argument u, parameter m.SageMath
jacobi_cd(u, m)mpmathellipfun('cd', u, m=m)Juliaenumeratio_jacobi(:cd, u, m)Typed signatures
| Type | Package | Applies |
|---|---|---|
(number, number) -> number | analytic | always |
Details
- , the same convention EllipticK / EllipticF use.
- — JacobiCN and JacobiDN share this head's numeric kernel and exact-value coverage (m outside [0,1] via the reciprocal- and imaginary-modulus transformations, complex u, a genuinely complex m declined).
- cd(0,m) = 1, for any m.
- Numeric only — a symbolic argument stays unevaluated; a floating-point argument (or
N()) evaluates directly. N(x, d)past a double's digits runs the same AGM in BigDecimal for real and ; complex and other stay unevaluated there rather than print a double's digits as more.- Derivatives of every order in and in are closed forms in sn, cn, dn and the Jacobi epsilon (DLMF 22.13):
D,Seriesin at or at a symbolic point, andSeriesin at all give concrete coefficients. The -derivatives evaluate numerically for real and between 0 and 1.
Plot
Examples
1 more kept as data, checked against the oraclesBasic #
A floating-point argument evaluates directly to a decimal
live ↗InOut
Known value · mpmath 1.3.0 ellipfun
Scope #
Properties #
Possible issues #
u = 10^16 spans far more than 10^6 periods of 4K(2/7): u this far out has no argument reduction against its real period, so the guard in exceedsDoublePrecision's sibling (periodsExceedDouble, ce-patches/support/precise.ts) declines rather than return a wrong value.
live ↗InOut
The true value (mpmath, dps=30) — still not computed here. Argument reduction at bignum precision (reduce u mod 4K(m) before collapsing to a double) is deferred; this example only pins the gap, not a fix.
live ↗Known value · mpmath 1.3.0 ellipfun
About
| Examples | 14 |
|---|---|
| Checked against | Wolfram Language 12 agree1 differSageMath 10 agree1 differ1 unevaluated1 errormpmath 7 agree1 unevaluatedJulia 7 agree1 unevaluated |
| Crosswalk | Wolfram LanguageSageMathmpmathJulia |
Implementation
mapped
mpmathpackages/oracle/src/mappings.tsmapped
sagepackages/oracle/src/mappings.tsmapped
juliapackages/oracle/src/mappings.ts