Public
Edited
Dec 27, 2022
Fork of Arbuckle
1 star
Insert cell
Insert cell
s = (ℜs,ℑs)
Insert cell
r = (1,0).sub(s)
Insert cell
ζ_s = ζ(s)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
ζ_s_q = ζ(s,q)
Insert cell
rotation_factor = (x) => {
if (x > ℑs/π) return 2*π * x/(ℑs/π)
return 0
}
Insert cell
Insert cell
Insert cell
Insert cell
s.im / (2 * Math.PI)
Insert cell
Insert cell
Insert cell
Insert cell
// viewof ℑs = slider({
// title: 'Im part of zeta arg',
// min: 150,
// max: 400,
// value: 223.222419286,
// // step: 'any',
// })

// ℑs1 = 63 * π - π/2

// ℑs1 = 77*π+0.122007
// ℑs1 = 223.222419286
// ℑs1 = 231.64
Insert cell
hspin = (t) => π * t * 2 // 4 * π * t / Math.round(4 * π * t / ℑs)
Insert cell
Math.round(4 * q * π / ℑs) / 2
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
data_3d = {
const data = []
data.push(build_series(ζ_s_partials, {
name: 'ζ(s,_)',
visible: 'legendonly'
}))
data.push(build_series(ζ_s_partials_norm, {
name: 'ζ*(s,_)'
}))

// add normalized hurwitz zeta point
data.push(build_point(ζ_s_q.mul(χ_r), q, {
name: 'ζ*(s,q)',
visible: 'legendonly'
}))

// add normalized, derotated point
data.push(build_point(
ζ_s_q_normalized,
q,
{
name: 'ζ**(s,q)',
marker: { color: 'purple' }
}
))

if (plot_3d && plot_3d.data) plot_3d.data.forEach((d,i) => {
const cur = data[i]
if (cur) cur.visible = d.visible || cur.visible
})

return data
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
ζ_next = (s, a, s_a) => (s_a || ζ(s,a)).sub((1).div((a).pow(2).pow((s).div(2))))
Insert cell
Insert cell
ζ_prev = (s, a, s_a) => (s_a || ζ(s,a)).add((1).div((a).sub(1).pow(2).pow((s).div(2))))
Insert cell
Insert cell
χ = (s) => (mathjs.eval('pi^(s-1/2) gamma((1-s)/2) / gamma(s/2)', { s }))
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more