Do you mean (mat1+mat2)*x./scale ? Try it in the REPL with 2 by 2 matrices and a simple x vector to see if that’s what you want, before throwing it into the ODEProblem. ![]()
You can also play around with (one(10)./scale) and similar.
Do you mean (mat1+mat2)*x./scale ? Try it in the REPL with 2 by 2 matrices and a simple x vector to see if that’s what you want, before throwing it into the ODEProblem. ![]()
You can also play around with (one(10)./scale) and similar.