Computational Physics, Python, Linear Algebra, Math, Mathematics.
knowing that b = np.array([[-2], [-8], [-2]]) res = A_plus.dot(b) res array([[-1.06451613], [ 3.64516129]]) So we have In our two dimensions, the coordinates of x are: Let’s plot this point along with the equation of lines: plt.plot(x1, x2_1) plt.plot(x1, x2_2) plt.plot(x1, x2_3) plt.xlim(-2., 1)