This function had the parameters in the wrong order. It did not break because it was internally computing the monomial form but naming it the lagrange form. I've also modified the description, the previous wording made it seem like you needed to do bit reversal to convert a polynomial from lagrange to monomial form.
This function had the parameters in the wrong order. It did not break because it was internally computing the monomial form but naming it the lagrange form. I've also modified the description, the previous wording made it seem like you needed to do bit reversal to convert a polynomial from lagrange to monomial form.