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

Revised numerical methods for a few functions #409

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mpaiao
Copy link
Contributor

@mpaiao mpaiao commented Dec 31, 2024

Updated a suite of algorithms in numutils.f90

Description

This pull request updates and revises a few numerical methods in numutils.f90 for improved stability and usability. These are straightforward updates that should have minimal impact on results or runtime.

Motivation and Context

This change improves robustness of a few numerical algorithms.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

References to the algorithms were updated accordingly in the code. Updates were restricted to numerical methods for finding roots of functions.

Testing :

  • All new and existing tests passed.

mpaiao added 2 commits January 2, 2024 10:47
…, which avoids severe

round-off errors when terms are different by orders of magnitude.
…numerical stability

and approaches.

Merge branch 'mainline' into mpaiao-pr-quadratic
@mpaiao mpaiao requested a review from xiangtaoxu January 2, 2025 21:57
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.

1 participant