if symbolic: c = A.LUsolve(b) # sympy arrays, symbolic Gaussian elim. else: c = np.linalg.solve(A, b) # numpy arrays, numerical solve
Note: the symbolic computation of A, b and A.LUsolve(b) can be very tedious.
A
b
A.LUsolve(b)