ode2dsp is a Python library for generating ordinary differential equation (ODE) solvers in digital signal processing (DSP) languages. It automates the tedious and error-prone symbolic calculations involved in creating a DSP model of an ODE.
Specify your system of ODEs with a SymPy expression and select an integral approximation method. ode2dsp applies this integral approximation to the ODEs, creating FDEs. The solution variables of the FDEs are solved for. If no explicit solution can be calculated, the solution is approximated in terms of a finite number of iterations of Newton's method.
We welcome patches. We are open to rendering to DSP languages other than Faust, but our ability to support them is limited.