Skip to content

Matrix inverse (code from sylvester)

License

Notifications You must be signed in to change notification settings

metabolize/matrix-inverse

Repository files navigation

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.