List Manipulation in Mathematica pertaining to Lagrange Interpolation Polynomials in Mathematica
问题 I am trying to use a list which is passed to a function in such a way that I can get the length of that list get the individual x and y values to manipulate The list I am trying to manipulate can be seen below: dataTan = Table[{x, Tan[x]}, {x, -1.5, 1.5, .75}]; this question is a sort of a follow-up to the question seen here. I eventually want to write my own function in mathematica that generates the Lagrange Interpolation polynomial for a given set of points {{x0, y0}, ... , {xn, yn}} I