Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use barycentric formula for Lagrange interpolation #75

Open
stevengj opened this issue Sep 14, 2020 · 2 comments · May be fixed by #288
Open

Use barycentric formula for Lagrange interpolation #75

stevengj opened this issue Sep 14, 2020 · 2 comments · May be fixed by #288
Labels
good first issue Good for newcomers

Comments

@stevengj
Copy link
Contributor

It looks like you are using the textbook Lagrange interpolation formula. Trefethen has some articles on why this is numerically unstable and you should use the alternative barycentric formula instead. (This evaluates exactly the same interpolating polynomial in a different way.)

@stevengj
Copy link
Contributor Author

@ChrisRackauckas
Copy link
Member

Yes thanks. We had discussed this a bit before but didn't get around to it since I don't think this interpolation is really used as much as the others. That said, with those notes right here it's a pretty good first issue so I'll mark it as such as probably use this as a GSoC training issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants