Skip to content

Conversation

@Keykyrios
Copy link

Description of Change

This PR adds a C++ implementation of Neville's Algorithm for polynomial interpolation. The algorithm is placed in the numerical_methods directory.

The implementation includes:

  • A function interpolate() within a dedicated namespace.
  • Doxygen-style comments explaining the file, function, and parameters.
  • A test() function with assertions to verify correctness for linear, quadratic, and negative-valued cases.

Wikipedia: https://en.wikipedia.org/wiki/Neville%27s_algorithm

Checklist

  • Added description of change
  • Added file name matches File name guidelines (nevilles_algorithm.cpp)
  • Added tests and example, test must pass
  • Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes: Adds an implementation of Neville's algorithm for polynomial interpolation.

@github-actions
Copy link
Contributor

This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Author has not responded to the comments for over 2 weeks label Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Author has not responded to the comments for over 2 weeks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant