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

Use Boole's rule to calculate integrate #155

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Conversation

BenderBlog
Copy link
Contributor

@PaddiM8
Copy link
Owner

PaddiM8 commented Jul 15, 2024

Hi, what's the benefit of this over simpson's rule?

@BenderBlog
Copy link
Contributor Author

I saw the Benchmark.md in the multicalc-rust, it said "Simpsons method was found lacking in accuracy". The Benchmark.md lists a table with approximation error, and SImpsons are the worst.

The Benchmark.md also said "Booles is able to converge faster than trapezoidal", and change weight is not hard (at least for a rust beginner like me).

@PaddiM8
Copy link
Owner

PaddiM8 commented Jul 16, 2024

Interesting. Seems to be true in a lot of cases. Thanks

@PaddiM8 PaddiM8 merged commit 23f6da4 into PaddiM8:master Jul 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants