Algorithms, Linear Equation.
print("\nCheck result: [a]{x} - b =\n",np.dot(aOrig,x) - bOrig) Execution: Python 3.8.8 [evaluate ex-gauss.py] A= [[ 1. 1. 1.] [ 1. -2. -2.] [ 1. -3. 5.]] x = [ 1. 1.2 -1.2] Check result: [a]{x} - b = [2.22044605e-16 0.00000000e+00 0.00000000e+00] As we said, matrix A does not appear triangularized