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