Professional Documents
Culture Documents
Math - List Manipulation in Mathematica Pertaining To Lagrange Interpolation Polynomials in Mathematica - Stack Overflow
Math - List Manipulation in Mathematica Pertaining To Lagrange Interpolation Polynomials in Mathematica - Stack Overflow
I need some way to access the points above so that I may utilize the
code below:
math wolfram-mathematica
share improve this question edited May 23 '17 at 12:03 asked Dec 7 '11 at 5:01
Community ♦ Matthew Kemnetz
1 1 545 1 10 28
add a comment
Given your last question, I'm guessing that you mean a Lagrange
Polynomial, so
add a comment
https://stackoverflow.com/questions/8410613/list-manipulation-in-mathematica-pertaining-to-lagrange-interpolation-polynomial 2/3
22/09/2019 math - List Manipulation in Mathematica pertaining to Lagrange Interpolation Polynomials in Mathematica - Stack Overflow
If you have a list l then you can get the length of that list by
using First@Dimensions@l . Assuming that the list has the
2 form {{x1,y1},{x2,y2},...} you can then get any of
the x and y values at position index just by
using Part[l,index] or its shorthand l[[index]] .
EDIT: If you want to do things the simple way you could conceivably
use Length@l for the length of the list.
https://stackoverflow.com/questions/8410613/list-manipulation-in-mathematica-pertaining-to-lagrange-interpolation-polynomial 3/3