Skip to content

willnode/matrix-inversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

matrix-inversion

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

Currently available in Javascript.

This is a continued effort of N-Matrix-Programmer, the difference is that this is a ready to use library. The basic calculation is described here.

Javascript 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

About

General Purpose Matrix Inversion Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published