Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#267·torchdiffeq

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

View original on GitHubView discussion on GitHub