JacobiNS
The Jacobi elliptic function (Glaisher's notation), in Wolfram/mpmath's convention.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
JacobiNS!JacobiNS(u, m)the Jacobi elliptic function ns, argument u, parameter m.SageMath
jacobi_ns(u, m)mpmathellipfun('ns', u, m=m)Juliaenumeratio_jacobi(:ns, u, m)Typed signatures
| Type | Package | Applies |
|---|---|---|
(number, number) -> number | analytic | always |
Details
- , the same convention EllipticK / EllipticF use.
- — JacobiSN shares 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).
- ns has a pole at u = 0 (sn(0,m) = 0, 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. At the pole the series in is the Laurent series, its coefficients polynomials in .
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 #
Same gap as JacobiCD (the true value is tracked there, not repeated per head): 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
About
| Examples | 13 |
|---|---|
| Checked against | Wolfram Language 12 agree1 differSageMath 8 agree2 differ2 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