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

Add Halley and Householder to SimpleNonlinearSolve #507

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

Conversation

tansongchen
Copy link
Collaborator

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Note that I didn't use AutoTaylorDiff() as the ADType, since TaylorDiff hasn't become a full-featured AD like ForwardDiff, therefore it's still faster to compute Jacobian with ForwardDiff or something else. Instead, an additional field Taylor_mode is added to control whether to use TaylorDiff or not.

@tansongchen tansongchen requested a review from avik-pal November 18, 2024 23:02
lib/SimpleNonlinearSolve/src/halley.jl Outdated Show resolved Hide resolved
@tansongchen
Copy link
Collaborator Author

Would be fine once SciML/ADTypes.jl#99 is ready

@tansongchen tansongchen requested a review from avik-pal November 21, 2024 21:07
@tansongchen
Copy link
Collaborator Author

Compared to 83f8c3d , it's not introducing new failures. Could @avik-pal review this again?

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.

4 participants