Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.63 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.63 KB

matrix-inverse

version license build bundle size code style

Matrix inverse function. Code is from sylvester by James Coglan, with gratitude.

Installation

Install matrix-inverse by running:

npm install matrix-inverse

Example

const matrixInverse = require('matrix-inverse')

const M = [
  [3, 3.2],
  [3.5, 3.6],
]

const M_inv = matrixInverse(M)

Origin

This code was copied and adapted from sylvester at commit 5a2c61681e988d60bf0a4223640c636052946341.

Contribute

Acknowledgements

This project was packaged by Paul Melnikow while at Body Labs. Thanks to Body Labs for the repository transfer.

License

The project is licensed under the MIT license.