Reputation: 959
I just want to sample cartesian points from an elliptic curve in $(x,y)$ form. Given one of x or y, I want to be able to calculate the other's possibilities.
Examples: I have EllipticCurve('11a')
and I want to know where it intersects the x-axis in (x,y) coordinates. What about where the curve intersects x=5? Or where it intersects y=3?
Can somebody assist me in doing this?
Upvotes: 0
Views: 180
Reputation: 807
You just need to solve a polynomial equation in one variable. The factor
function, or the .roots
method of polynomials can do that for you.
Upvotes: 1