Algorithmic Gaussian Elimination \302\251Mike May, S.J., 2005, Saint Louis University restart: with(LinearAlgebra): One of the strengths of Gaussian Elimination is that it can be done mechanically to a randomly chosen matrix. It is worthwhile to see that it works in this mode. We will assume that the reduction can be done without any row swapping. We print out the result after full use of each pivot. rsize := 3: csize := 4: M1 := RandomMatrix(rsize, csize, generator = rand(10)): M[0] := M1: for i from 1 to rsize do: M[i] := M[i-1]: for j from i+1 to rsize do: M[i] := RowOperation(M[i],[j,i],-M[i][j,i]/M[i][i,i]); end do; end do; Re-execute the section above many times. Note 1 - If you try this with a matrix with a dimension greater than 10, Maple simply tells you it has a matrix rather than printing it out. The simplest way to see such a matrix is to double click it and to invoke the matrix browser. One can also change the size at which this happens can be shifted with an interface(rtablesize=n) command. Note 2 - You should note that the algorithm fails if a zero shows up at the wrong spot. Test by example to see how often this happens. Decide if you want to modify the demo to eliminate this problem or if you want to incorporate this into your teaching. LUklbXJvd0c2Iy9JK21vZHVsZW5hbWVHNiJJLFR5cGVzZXR0aW5nR0koX3N5c2xpYkdGJzYjLUkjbWlHRiQ2OVEhRicvJSdmYW1pbHlHUTBUaW1lc35OZXd+Um9tYW5GJy8lJXNpemVHUSMxMkYnLyUlYm9sZEdRJmZhbHNlRicvJSdpdGFsaWNHUSV0cnVlRicvJSp1bmRlcmxpbmVHRjcvJSpzdWJzY3JpcHRHRjcvJSxzdXBlcnNjcmlwdEdGNy8lK2ZvcmVncm91bmRHUShbMCwwLDBdRicvJStiYWNrZ3JvdW5kR1EuWzI1NSwyNTUsMjU1XUYnLyUnb3BhcXVlR0Y3LyUrZXhlY3V0YWJsZUdGOi8lKXJlYWRvbmx5R0Y3LyUpY29tcG9zZWRHRjcvJSpjb252ZXJ0ZWRHRjcvJStpbXNlbGVjdGVkR0Y3LyUscGxhY2Vob2xkZXJHRjcvJTBmb250X3N0eWxlX25hbWVHUSkyRH5JbnB1dEYnLyUqbWF0aGNvbG9yR0ZDLyUvbWF0aGJhY2tncm91bmRHRkYvJStmb250ZmFtaWx5R0YxLyUsbWF0aHZhcmlhbnRHUSdpdGFsaWNGJy8lKW1hdGhzaXplR0Y0