This is my integration of the Gauss-Algorithm.
just require it with:
let Gauss = require("gauss-algorithm")
and than use it:
-
let e = new Gauss([[-1,1,1,0],[1,-3,-2,5],[5,1,4,3]])
-
=> e.out
-
The input must be an 2 dimensional array and the length of the inner arrays must be 1 longer then the outer one