Use Sherman-Morrison formula with implicit solvers
Author: psv4Created Apr 4, 2025Updated Apr 4, 2025
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.
Source: rtqichen/torchdiffeq