Created
May 27, 2016 19:13
-
-
Save binary10/ed0bfc481742d1da9b9747d48061f16c to your computer and use it in GitHub Desktop.
Revisions
-
binary10 created this gist
May 27, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ def elim(row, minus_row, scale, n=3): m = np.eye(n) m[row, minus_row] = -scale return m