[PR #1255] [MERGED] feat: add secant method #1849

Open
opened 2026-01-29 15:25:21 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1255
Author: @samuelcfpires
Created: 5/2/2023
Status: Merged
Merged: 6/2/2023
Merged by: @Panquesito7

Base: masterHead: add-secant-method


📝 Commits (10+)

  • 6a61c34 feat: add secant method
  • 29d450f Apply suggestions from code review
  • 8162ddf fixed indentation
  • 50213b6 added more tests
  • 26e45de better clarification for the tolerance parameter
  • 554ae06 Merge branch 'master' into add-secant-method
  • c34c33e removed redundant comments
  • 57434af chore: apply suggestions from code review
  • 9e8c7ca Merge branch 'master' into add-secant-method
  • 572f66e Merge branch 'master' into add-secant-method

📊 Changes

1 file changed (+80 additions, -0 deletions)

View changed files

numerical_methods/secant_method.c (+80 -0)

📄 Description

Description of Change

Added the secant method to numerical methods.

References

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • 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:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/1255 **Author:** [@samuelcfpires](https://github.com/samuelcfpires) **Created:** 5/2/2023 **Status:** ✅ Merged **Merged:** 6/2/2023 **Merged by:** [@Panquesito7](https://github.com/Panquesito7) **Base:** `master` ← **Head:** `add-secant-method` --- ### 📝 Commits (10+) - [`6a61c34`](https://github.com/TheAlgorithms/C/commit/6a61c341edc4a673640935350e04dc6ae06b3d28) feat: add secant method - [`29d450f`](https://github.com/TheAlgorithms/C/commit/29d450ffd07f7ea373c09bb3ea1ba7ba6254ecfe) Apply suggestions from code review - [`8162ddf`](https://github.com/TheAlgorithms/C/commit/8162ddfed5226d56aee3b75d451bfaaea1456875) fixed indentation - [`50213b6`](https://github.com/TheAlgorithms/C/commit/50213b6eb4e9ecf111edb393aedef923b064323e) added more tests - [`26e45de`](https://github.com/TheAlgorithms/C/commit/26e45de3e1885e6b03c633813dcbb736784839b1) better clarification for the tolerance parameter - [`554ae06`](https://github.com/TheAlgorithms/C/commit/554ae06bdc1b8a30efa7fa42a2e9ae64e28df0f1) Merge branch 'master' into add-secant-method - [`c34c33e`](https://github.com/TheAlgorithms/C/commit/c34c33e64b4d768fc651bef5542f25db28388173) removed redundant comments - [`57434af`](https://github.com/TheAlgorithms/C/commit/57434af6d94dfc5d9f45d638a0022ae5fd926a3b) chore: apply suggestions from code review - [`9e8c7ca`](https://github.com/TheAlgorithms/C/commit/9e8c7cab36b2341320150479f026a53dd0fad919) Merge branch 'master' into add-secant-method - [`572f66e`](https://github.com/TheAlgorithms/C/commit/572f66e6ee259f3094cb0756b23887a09b507ea9) Merge branch 'master' into add-secant-method ### 📊 Changes **1 file changed** (+80 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `numerical_methods/secant_method.c` (+80 -0) </details> ### 📄 Description #### Description of Change Added the secant method to numerical methods. <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:25:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1849