Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
solve systems of linear equations using gaussian elimination
JavaScript
branch: master

0.0.1

latest commit 4e845cf652
@substack authored
Failed to load latest commit information.
example passing tests
test passing tests
.travis.yml using testling and travis
LICENSE package.json, docs
index.js this algorithm actually works
package.json 0.0.1
readme.markdown using testling and travis

readme.markdown

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

Something went wrong with that request. Please try again.