Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weierstrass's elliptic functions implementation #4

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment
Open

Weierstrass's elliptic functions implementation #4

GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Weierstrass's elliptic functions implementation request in terms of elliptic 
integrals and jacobi's elliptic functions

http://en.wikipedia.org/wiki/Weierstrass's_elliptic_functions
http://www.mai.liu.se/~halun/complex/elliptic/
http://mathworld.wolfram.com/WeierstrassEllipticFunction.html

Original issue reported on code.google.com by [email protected] on 10 Jan 2010 at 4:51

@moiseevigor
Copy link
Owner

As proposed on gitter https://gitter.im/moiseevigor/elliptic?at=5773e91e971717155488a036 it seems that it can be done with this function

function P = WeiP(z,e1,e2,e3)
  m = (e2 - e3)/(e1 - e3);
  w = z*sqrt(e1 - e3);
  sn = ellipj(w,m);
  P = e3 + (e1 - e3)/(sn^2);
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants