1
$\begingroup$

In the EllipticLog WRI web page, there is a function called"ellipticMultiply defined as:

 ellipticMultiply[{{x1_, y1_}, {x2_, y2_}}, {a_, b_}] := 
   Module[{s = (y2 - y1)/(x2 - x1), x3, y3}, 
     x3 = s^2 - x1 - x2 - a; 
     y3 = -y1 + s (x1 - x3); 
     {x3, y3}]

to multiply points that belong to an elliptic curve of the form $y^2 = x^3 + a\,x^2 + b\,x$. Is there a function (call it ellipticAdd) to add such points, and if not, could you provide one?

$\endgroup$
2
  • 1
    $\begingroup$ There are two Q&A on elliptic curve addition on site already that have code for adding points. $\endgroup$
    – Michael E2
    Nov 9, 2018 at 16:28
  • $\begingroup$ @Moo & Michael E2; Indeed; using the EllipticLog and EllipticExp functions to define addition is what I needed. Thank you for your help! $\endgroup$ Nov 9, 2018 at 19:46

0

Browse other questions tagged or ask your own question.