Add support for piecewise controls in Integrator. The logic for handling controls will mirror that of Simulator (which will be removed).
In order for the class to stay differentiable to any order, a backwards quadrature with grid output is also needed.
Spun from #2823
Add support for piecewise controls in Integrator. The logic for handling controls will mirror that of Simulator (which will be removed).
In order for the class to stay differentiable to any order, a backwards quadrature with grid output is also needed.
Spun from #2823