torchdiffeq icon indicating copy to clipboard operation
torchdiffeq copied to clipboard

Use Sherman-Morrison formula with implicit solvers

Open psv4 opened this issue 9 months ago • 0 comments

Mentioned in #265 , the Jacobian inverse is explicitly calculated for the FIRK and DIRK solvers. To avoid this expensive calculation, the Sherman-Morrison formula can be used to calculate and store the Jacobian inverse.

psv4 avatar Apr 04 '25 19:04 psv4