how to initialize lagrange_polynomial command for Finite Ring . It works for Finite Field,Z and Q . I tried for Ring with finite order, for me its shows ERROR.here is the code:
R = PolynomialRing(Zmod(8), 'x')
R.lagrange_polynomial([(1,2),(2,3),(3,4),(4,5),(5,6),(7,0),(0,1)])
It shows " Attribute Error, Couldn't use Lagrange here". don't know Why . Can anyone help me to fix the Error. Thank you in advance.