Skip to content

ellipj

builtin · libnexusinterp/corefcn/ellipj-proprietary.cc

: sn = ellipj (u, m)
: [sn, cn, dn] = ellipj (u, m)
: [sn, cn, dn] = ellipj (u, m, tol)

Jacobi elliptic functions sn, cn and dn.

u and m must be real arrays of the same size, or either may be scalar. The parameter must satisfy 0 <= m <= 1. Optional tol is the AGM convergence tolerance (default: eps of the superior floating-point class of the inputs).