Evaluating $j$-invariant in PARI/GP.

355 Views Asked by At

Is there any command to evaluate $j$-invariant in PARI/GP?

In Pari/Gp reference card there is $\operatorname{ellj}(x)$ function; but I am not understanding how to evaluate $j(i)$ or $j(\sqrt{-2})$.

Any hint is also welcome; Thanks

1

There are 1 best solutions below

4
On BEST ANSWER

Exactly what it says on the tin. One evaluates $j(x+iy)$ with the command ellj(x+I*y). Sample:

enter image description here

This gives $j(i)=1728$, $j(\sqrt{-2})=8000$, $j(e^{\frac 23 \pi i}) = 0$.