rref
solve systems of linear equations using gaussian elimination
example
var rref = ;console;
output:
[ [ 1, 0, 0, 2 ], [ 0, 1, 0, 3 ], [ 0, 0, 1, -1 ] ]
methods
var rref =
rref(matrix)
Compute the reduced row echelon form for matrix
in-place, returning and
modifying matrix
.
matrix
should be an array of arrays.
install
With npm do:
npm install rref
license
MIT
kudos
based on the rosetta code rref javascript entry