@rafapaezbas/matrix-determinant

1.0.0 • Public • Published

Matrix determinant

Calculate squared matrix determinant in Javascript

Example

const { determinant } = require('./index.js')

/*
| 2  3  1 |
| 0 -2  5 |
| 3  7 -4 |
*/

const result = determinant([[2, 3, 1], [0, -2, 5], [3, 7, -4]])
console.log(result) // -3

Readme

Keywords

none

Package Sidebar

Install

npm i @rafapaezbas/matrix-determinant

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.83 kB

Total Files

4

Last publish

Collaborators

  • rafapaezbas