rref

0.0.1 • Public • Published

rref

solve systems of linear equations using gaussian elimination

testling badge

build status

example

var rref = require('rref');
console.log(rref([
    [ 2, 1, -1, 8 ],
    [ -3, -1, 2, -11 ],
    [ -2, 1, 2, -3 ]
]));

output:

[ [ 1, 0, 0, 2 ], [ 0, 1, 0, 3 ], [ 0, 0, 1, -1 ] ]

methods

var rref = require('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

Readme

Keywords

none

Package Sidebar

Install

npm i rref

Weekly Downloads

19

Version

0.0.1

License

MIT

Last publish

Collaborators

  • nopersonsmodules