Weierstrass p function
Doubly periodic Weierstrass p-function
This file represents the Weierstrass p function, which is doubly periodic on the complex plane. f(z)=f(z+w1)=f(z+w2)
The 2 periods can set dynamically by the numbers w_1 and w_2. The actual periods are 2 times w_1 and w_2. The fundamental domain is a parallelogram which can be moved around freely. The input of the function is the complex number z_3, and the output is z_4. The double periodicity can be checked nicely by moving z_3 along the parallelogram. The output result is the same for all the four corners. This result is represented by a light blue dot as well.