-
-
Save sixtyfive/040af73c64da2b2151f5fd1ca316ea2a to your computer and use it in GitHub Desktop.
This file contains 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
main » Matrix[[-1, -1], [0, -1]].inv | |
=> Matrix[[(-1/1), (1/1)], [(0/1), (-1/1)]] | |
main » Matrix[[-1, -1], [-1, -1]].inv | |
ExceptionForMatrix::ErrNotRegular: Not Regular Matrix | |
# ??? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
irb(main):009:0> @m = Matrix[[-1, -1], [0, -1]] => Matrix[[-1, -1], [0, -1]] irb(main):010:0> @m.inv => Matrix[[(-1/1), (1/1)], [(0/1), (-1/1)]]