FAQ¶
How does pardax compare with diffrax?¶
diffrax is a larger, more general JAX-based
differential equation library, while pardax is intentionally minimal and
modelled on scipy.integrate.solve_ivp.
Some of the main differences between these two libraries are:
- Scope:
diffraxsupports ODEs, SDEs (stochastic), and CDEs (controlled), whilepardaxfocuses on ODEs and PDEs only - Solvers:
diffraxcurrently offers a larger catalogue of solvers thanpardax, however both are composable and designed to support user-defined solvers - Stepping:
diffraxhas an adaptive step size controller, whilepardaxuses a fixed step size or a user-supplied state-dependent callback (e.g. a CFL condition) - Spectral methods:
pardaxhas built-in support for spectral methods, whichdiffraxdoesn't have at the time of writing