I need to solve dynamically created system of equations with scipy.optimize.root
.
What is a proper way to create such a function in linear and non-linear cases:
- Example of linear system to generate:
- Example of non-linear system to generate:
I need to solve dynamically created system of equations with scipy.optimize.root
.
What is a proper way to create such a function in linear and non-linear cases: