torchopt icon indicating copy to clipboard operation
torchopt copied to clipboard

feat(implicit_diff): matrix inversion linear solver with neumann series approximation

Open Benjamin-eecs opened this issue 3 years ago • 1 comments
trafficstars

Description

matrix inversion linear solver with neumann series approximation

Types of changes

  • [x] New feature (non-breaking change which adds core functionality)
  • [ ] Documentation (update in the documentation)
  • [ ] Example (update in the folder of example)

Checklist

  • [x] I have read the CONTRIBUTION guide (required)
  • [x] My change requires a change to the documentation.
  • [ ] I have updated the tests accordingly (required for a bug fix or a new feature).
  • [ ] I have updated the documentation accordingly.
  • [x] I have reformatted the code using make format (required)
  • [x] I have checked the code using make lint (required)
  • [x] I have ensured make test pass. (required)

Benjamin-eecs avatar Oct 09 '22 18:10 Benjamin-eecs

Codecov Report

Base: 65.19% // Head: 64.87% // Decreases project coverage by -0.32% :warning:

Coverage data is based on head (2bd55ba) compared to base (23253b1). Patch coverage: 63.90% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
- Coverage   65.19%   64.87%   -0.33%     
==========================================
  Files          62       65       +3     
  Lines        2655     2787     +132     
==========================================
+ Hits         1731     1808      +77     
- Misses        924      979      +55     
Flag Coverage Δ
unittests 64.87% <63.90%> (-0.33%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
torchopt/linalg/ns.py 41.81% <41.81%> (ø)
torchopt/linalg/utils.py 52.17% <52.17%> (ø)
torchopt/pytree.py 71.01% <73.46%> (+1.78%) :arrow_up:
torchopt/linear_solve/inv.py 82.14% <82.14%> (ø)
torchopt/linalg/__init__.py 100.00% <100.00%> (ø)
torchopt/linalg/cg.py 98.14% <100.00%> (+6.36%) :arrow_up:
torchopt/linear_solve/__init__.py 100.00% <100.00%> (ø)
torchopt/linear_solve/utils.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov-commenter avatar Oct 09 '22 18:10 codecov-commenter

CHANGELOG

added

Benjamin-eecs avatar Nov 07 '22 15:11 Benjamin-eecs