An open API service indexing awesome lists of open source software.

https://github.com/lovasoa/linear-solve

Small javascript library to solve a system of linear equations, invert a matrix, and nothing more.
https://github.com/lovasoa/linear-solve

Last synced: 10 months ago
JSON representation

Small javascript library to solve a system of linear equations, invert a matrix, and nothing more.

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/lovasoa/linear-solve.svg?branch=master)](https://travis-ci.org/lovasoa/linear-solve)

# Solve linear systems
```javascript
linear.solve([[ 1, 2],[ 3, 4]], [5, 11]);
// returns [1, 2]
```

# Invert matrices
```javascript
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