Fast, conceptually simple, iterative scheme for Weierstrass P functions
Fast, conceptually simple, iterative scheme for Weierstrass P functions, following the ideas of Robert Coqueraux
coqueraux(z, g, N = 5, use.fpp = FALSE, give = FALSE)
z |
Primary complex argument |
g |
Invariants; if an object of type |
N |
Number of iterations to use |
use.fpp |
Boolean, with default |
give |
Boolean, with |
Robin K. S. Hankin
R. Coqueraux, 1990. Iterative method for calculation of the Weierstrass elliptic function, IMA Journal of Numerical Analysis, volume 10, pp119-128
z <- seq(from=1+1i,to=30-10i,len=55) p <- P(z,c(0,1)) c.true <- coqueraux(z,c(0,1),use.fpp=TRUE) c.false <- coqueraux(z,c(0,1),use.fpp=FALSE) plot(1:55,abs(p-c.false)) points(1:55,abs(p-c.true),pch=16)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.