Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Create RiemannIntegration.java#6215

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
il798li wants to merge9 commits intoTheAlgorithms:master
base:master
Choose a base branch
Loading
fromil798li:master

Conversation

il798li
Copy link

This class approximates integrals by using 4 of Riemann's approximation method.

  • I have readCONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted withclang-format -i --style=file path/to/your/file.java

This class approximates integrals by using 4 of Riemann's approximation method.
used clang-format to format my java code
@codecov-commenter
Copy link

codecov-commenter commentedApr 6, 2025
edited
Loading

Codecov Report

Attention: Patch coverage is0% with32 lines in your changes missing coverage. Please review.

Project coverage is 73.67%. Comparing base(2570a99) to head(5b52fa3).
Report is 6 commits behind head on master.

Files with missing linesPatch %Lines
...va/com/thealgorithms/maths/RiemannIntegration.java0.00%32 Missing⚠️
Additional details and impacted files
@@             Coverage Diff              @@##             master    #6215      +/-   ##============================================- Coverage     73.78%   73.67%   -0.12%- Complexity     5299     5310      +11============================================  Files           671      674       +3       Lines         18344    18408      +64       Branches       3546     3557      +11     ============================================+ Hits          13536    13562      +26- Misses         4262     4297      +35- Partials        546      549       +3

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Added four separate methods for each form of Riemann sumse
added comments explaining how the code works
made all the riemann integration methods static
added an example usage of the riemann integration
fixed some of the methods' bugs
i'll deal with formatting later
used interval notation in a comment to cater to math language
@github-actionsGitHub Actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@DenizAltunkapanDenizAltunkapanAwaiting requested review from DenizAltunkapanDenizAltunkapan will be requested when the pull request is marked ready for reviewDenizAltunkapan is a code owner

@yanglbmeyanglbmeAwaiting requested review from yanglbmeyanglbme will be requested when the pull request is marked ready for reviewyanglbme is a code owner

@vil02vil02Awaiting requested review from vil02vil02 will be requested when the pull request is marked ready for reviewvil02 is a code owner

@BamaCharanChhandogiBamaCharanChhandogiAwaiting requested review from BamaCharanChhandogiBamaCharanChhandogi will be requested when the pull request is marked ready for reviewBamaCharanChhandogi is a code owner

@alxkmalxkmAwaiting requested review from alxkmalxkm will be requested when the pull request is marked ready for reviewalxkm is a code owner

@siriaksiriakAwaiting requested review from siriaksiriak will be requested when the pull request is marked ready for reviewsiriak is a code owner

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@il798li@codecov-commenter

[8]ページ先頭

©2009-2025 Movatter.jp