Published
Edited
May 30, 2021
Importers
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
jacobi.sn_cn_dn(1.713,glob_m)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
({masson: masson.ellipticK(.3),fukushima:jacobi.ellipticK(.3)})
Insert cell
Insert cell
Insert cell
compare=gen_01(100).map(v=>({v:v,masson:masson.ellipticK(v),fukushima:jacobi.ellipticK(v)}))
Insert cell
Insert cell
compare_narrow=aq.from(compare).fold(["masson","fukushima"])
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
jacobi_samples = {
const k = jacobi.ellipticK(glob_m);
const us = gen_01(360).map(v=>v*4*k);
return us.map(u=>jacobi.sn_cn_dn(u,glob_m));
}
Insert cell
Insert cell
viewof jacobi_samples_narrow =
aq.from(jacobi_samples)
.fold(["sn","cn","dn"])
.params({glob_k}) // don't like this
.derive({k:(d,$)=>d.u/$.glob_k}).view({height:240});
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more