Is there a way to solve a linear system of equations in python where the unknown is on both sides of the equality. So for instance if I have:
x_1 = 0.7 + 0.5 * x_1 - 0.4 * x_2
x_2 = 0.7 * x_1 + 0.5 - 0.4 * x_1
x_3 = 0.7 * x_2 + 0.5 * x_1 - 0.4
where this can be expressed as:
|x_1| | 1 x_1 x_2|| 0.7|
|x_2| = |x_1 1 x_1|| 0.5|
|x_3| |x_2 x_1 1 ||-0.4|
where the we have a Toeplitz Matrix.
I could easily solve such an expression by hand, but it gets laborious as I have large sets. I was looking at
Is there a python module to solve linear equations?
How to solve a pair of nonlinear equations using Python?
and the SymPy Solvers modules, but I can't seem to find a way of going about this.