0.2.2 • Published 2 years ago

matrix-inversion v0.2.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

matrix-inversion

General-Purpose Matrix Inversion Library in Javascript. Inverses 2x2, 3x3, 4x4... any NxN matrices quickly.

See the main repo for more details.

Install

npm i matrix-inversion

Currently support in ESM imports only.

Usage

import { invert } from 'matrix-inversion';
console.log(invert([[1, 4, 5], [3, 2, 4], [3, 1, 3]]))
// returns: [[-2, 7, -6], [-3, 12, -11], [3, -11, 10]]
import { determinant } from 'matrix-inversion';
console.log(determinant([[1, 2], [3, 4]]))
// returns: -2

Release Notes

0.2.1
  • First release
0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago