mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-04-25 06:49:40 +00:00
[PR #1505] [CLOSED] feat(numerical_methods): Add Neville's algorithm for interpolation #2112
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/1505
Author: @Keykyrios
Created: 10/20/2025
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
49e6435feat(numerical_methods): Add Neville's algorithm for interpolationd7795f8Handled Div. by zero case📊 Changes
1 file changed (+100 additions, -0 deletions)
View changed files
➕
numerical_methods/nevilles_algorithm.c(+100 -0)📄 Description
Description of Change
This pull request introduces an implementation of Neville's Algorithm for polynomial interpolation in C. The file is located in the
numerical_methodsdirectory, as it's a specific numerical method for solving interpolation problems.The submission includes:
nevilles_algorithm.c) with manual memory management.tests()function that usesassert.hto verify the algorithm's correctness with linear, quadratic, and negative-valued test cases.Wikipedia Reference: https://en.wikipedia.org/wiki/Neville%27s_algorithm
Checklist
nevilles_algorithm.c)Notes: Adds a standard implementation of Neville's algorithm with self-contained tests.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.