Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created May 15, 2016 22:06
Show Gist options
  • Save AndyNovo/2ed047734ccad20ada43d1f1e0268131 to your computer and use it in GitHub Desktop.
Save AndyNovo/2ed047734ccad20ada43d1f1e0268131 to your computer and use it in GitHub Desktop.
Polynomial Interpolation in SAGE
p=11
R.<x>=PolynomialRing(GF(p))
points=[(1,1), (3,3)]
f=R.lagrange_polynomial(points)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment