linear.solve([[ 1, 2],[ 3, 4]], [5, 11]); // returns [1, 2]
linear.invert([[2,0],[0,2]]); //returns [[.5, 0], [0, .5]]
This library is very small, and can be used both in node and in the browser.
MIT