# linear-solve

> Solve a system of linear equations. Invert a matrix. Nothing else

Latest version **1.2.1** (published 2016-12-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install linear-solve
pnpm add linear-solve
yarn add linear-solve
bun add linear-solve
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2016-12-06 |
| First published | 2015-01-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 44 |
| Maintainers | lovasoa |
| Keywords | linear, algebra, solve, system, equations, invert, matrix |

## Links

- npm: https://www.npmjs.com/package/linear-solve
- Repository: http://github.com/lovasoa/linear-solve
- Homepage: https://github.com/lovasoa/linear-solve
- Issues: https://github.com/lovasoa/linear-solve/issues
- npm.io page: https://npm.io/package/linear-solve

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.2.1 (latest) — 2016-12-06
- 1.2.0 — 2016-11-26
- 1.1.0 — 2016-11-26
- 1.0.0 — 2015-01-17

## 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

---
_Source: https://npm.io/package/linear-solve · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
