pub fn lagrange_polyx(points: Seq<(FpVesta, FpVesta)>) -> Polyx
Expand description

Find lowest degree polynomial passing through a set points using legrange interpolation

Arguments

  • pointsis a sequence of points (Fp,Fp) that the polynomial must pass through

Assertions

  • No two points may have the same x-value.