moiseevigor / elliptic

Elliptic functions for Matlab and Octave
http://moiseevigor.github.io/elliptic
15 stars 5 forks source link

Theta variables definition documentation #27

Closed JoelSjogren closed 1 year ago

JoelSjogren commented 1 year ago

I am in need of an equivalent of mpmath.jtheta(n, z, q). Not sure what V, M, K mean in theta.m - how to relate them to z, q?

JoelSjogren commented 1 year ago

Ah there is m = inversenomeq(q) but I have typically q = 0.98 or so...

JoelSjogren commented 1 year ago

Using this instead. It gives the same results as mpmath. https://se.mathworks.com/matlabcentral/fileexchange/65915-elfun18 Y = JacobiTheta3(X,Q)