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.
- Host: GitHub
- URL: https://github.com/lovasoa/linear-solve
- Owner: lovasoa
- Created: 2015-01-17T00:35:33.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-12-06T11:41:17.000Z (about 9 years ago)
- Last Synced: 2024-10-18T09:02:10.963Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 43
- Watchers: 5
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](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