Skip to content

Add Halley and Householder to SimpleNonlinearSolve#507

Closed
tansongchen wants to merge 1 commit intomasterfrom
st/simplehalley
Closed

Add Halley and Householder to SimpleNonlinearSolve#507
tansongchen wants to merge 1 commit intomasterfrom
st/simplehalley

Conversation

@tansongchen
Copy link
Copy Markdown
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
Comment thread lib/SimpleNonlinearSolve/src/halley.jl Outdated
Comment thread lib/SimpleNonlinearSolve/ext/SimpleNonlinearSolveTaylorDiffExt.jl Outdated
Comment thread lib/SimpleNonlinearSolve/test/core/rootfind_tests.jl Outdated
Comment thread lib/SimpleNonlinearSolve/test/core/rootfind_tests.jl Outdated
Comment thread lib/SimpleNonlinearSolve/test/core/rootfind_tests.jl
@tansongchen
Copy link
Copy Markdown
Collaborator Author

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

@tansongchen
Copy link
Copy Markdown
Collaborator Author

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

@tansongchen tansongchen deleted the st/simplehalley branch April 24, 2026 00:12
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