Created
January 24, 2014 19:08
-
-
Save qoelet/8603949 to your computer and use it in GitHub Desktop.
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 characters
lhs = reshape([2, -1, 0, -1, 2, -3, 0, -1, 4], 3, 3) | |
rhs = reshape([0, -1, 4], 3, 1) | |
soln = lhs\rhs | |
print((lhs * soln) == rhs) # prove it so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment