mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 18:46:50 +08:00
* Setup general integral aprroximation algorithm template * feat: added integral approximation algorithm * updating DIRECTORY.md * feat: added integral approximation algorithm * test: added tests for integral approximation algorithm * docs: added comments and explanation for integral approximation algorithm * fix: updated for loop within algorithm * fix: data type conversions * Modified dividing by 2 Maintains functionality but dividing by 2 is easier to read/understand * Update math/integral_approximation.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update math/integral_approximation.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update math/integral_approximation.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update math/integral_approximation.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update math/integral_approximation.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * fix: Apply suggestions from code review * fix: Apply suggestions from code review * fix: Apply suggestions from code review * fix: Apply suggestions from code review * fix: Apply suggestions from code review * fix: Apply suggestions from code review * fix: Apply suggestions from code review * fix: Apply suggestions from code review * fix: Apply suggestions from code review * fix: Apply suggestions from code review * fix: Apply suggestions from code review * feat: added Wikipedia link and detailed description * fix: Apply suggestions from code review * Update math/integral_approximation.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update math/integral_approximation.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * Update math/integral_approximation.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * style: updated what the library/header is for * docs: Update math/integral_approximation.cpp Co-authored-by: David Leal <halfpacho@gmail.com> * fix: changed int to uint64_t * Update math/integral_approximation.cpp Co-authored-by: David Leal <halfpacho@gmail.com> Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Co-authored-by: Shiqi Sheng <shiqisheng00@gmail.com> Co-authored-by: David Leal <halfpacho@gmail.com>
5.4 KiB
5.4 KiB