Closed Host32 closed 9 years ago
Awesome!
Let me find out what the cost of exception throwing is in Elixir/Erlang...as I recall, I think most code doesn't really throw exceptions. So, let's see what's idiomatic, and then go from there.
Thank you again!
Merged this in and updated the hex package.
I'm fine with throwing an exception, because I think that's reasonable behavior. :)
I'll get us ready for anything left on our 1.0.0 release.
Thanks again!
inverse(a)
calculates the inverse matrixa
is amat
to be invertedReturs a
mat
representinga
-1Raises an error when you try to calculate inverse of a matrix whose determinant is
zero