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

feat: added integral approximation algorithm #1485

Merged
merged 36 commits into from
Apr 22, 2021
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
553e0a1
Setup general integral aprroximation algorithm template
bwalton24 Apr 6, 2021
86b98c9
feat: added integral approximation algorithm
bwalton24 Apr 13, 2021
e67546f
updating DIRECTORY.md
Apr 13, 2021
88a457c
feat: added integral approximation algorithm
bwalton24 Apr 13, 2021
ee12066
Merge branch 'master' of https://github.com/TheAlgorithms/C-Plus-Plus
bwalton24 Apr 13, 2021
432795c
test: added tests for integral approximation algorithm
bwalton24 Apr 20, 2021
d26f108
docs: added comments and explanation for integral approximation algor…
bwalton24 Apr 20, 2021
ab22dc6
fix: updated for loop within algorithm
bwalton24 Apr 20, 2021
d26784b
fix: data type conversions
bwalton24 Apr 20, 2021
a78c238
Modified dividing by 2
shiqisheng2036 Apr 20, 2021
59247fd
Update math/integral_approximation.cpp
shiqisheng2036 Apr 21, 2021
109a26a
Update math/integral_approximation.cpp
shiqisheng2036 Apr 21, 2021
23c9cfc
Update math/integral_approximation.cpp
shiqisheng2036 Apr 21, 2021
8ed70fc
Update math/integral_approximation.cpp
shiqisheng2036 Apr 21, 2021
973be1d
Update math/integral_approximation.cpp
shiqisheng2036 Apr 21, 2021
233f04d
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
3a53020
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
354c7e9
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
b305d0f
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
d6ac9ce
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
6c5f460
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
d9fe4a3
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
8bb6d9a
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
ef08f2f
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
9ee83ba
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
ae5c2a8
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
7e09f2c
feat: added Wikipedia link and detailed description
shiqisheng2036 Apr 21, 2021
46dc993
fix: Apply suggestions from code review
Panquesito7 Apr 21, 2021
3b659d9
Update math/integral_approximation.cpp
shiqisheng2036 Apr 21, 2021
4816da9
Update math/integral_approximation.cpp
shiqisheng2036 Apr 21, 2021
6a09e7f
Update math/integral_approximation.cpp
shiqisheng2036 Apr 21, 2021
2102e70
style: updated what the library/header is for
shiqisheng2036 Apr 21, 2021
afc6c7e
docs: Update math/integral_approximation.cpp
bwalton24 Apr 21, 2021
5070461
fix: changed int to uint64_t
shiqisheng2036 Apr 21, 2021
1fe52a3
Merge branch 'master' of https://github.com/bwalton24/C-Plus-Plus
shiqisheng2036 Apr 21, 2021
ae714a4
Update math/integral_approximation.cpp
shiqisheng2036 Apr 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update math/integral_approximation.cpp
Co-authored-by: David Leal <[email protected]>
  • Loading branch information
shiqisheng2036 and Panquesito7 authored Apr 22, 2021
commit ae714a42ebd331c17673c90e61d5b9de108f947e
4 changes: 2 additions & 2 deletions math/integral_approximation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ void test_eval(double approx, double expected, double threshold) {
}

/**
* @brief Self-test implementations to test
* the `integral_approx` function.
* @brief Self-test implementations to
* test the `integral_approx` function.
*
* @returns `void`
*/
Panquesito7 marked this conversation as resolved.
Show resolved Hide resolved
Expand Down