How to add extra variables when defining ODEProblem in DifferentialEquations?

It’s the identity matrix, so why not replace A*u with u and save the allocation?

2 Likes