JSPM

linear-solve

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 539
  • Score
    100M100P100Q92527F
  • License MIT

Solve a system of linear equations. Invert a matrix. Nothing else

Package Exports

  • linear-solve
  • linear-solve/gauss-jordan

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (linear-solve) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Solve linear systems

linear.solve([[ 1, 2],[ 3, 4]], [5, 12]);
// returns [1, 2]

Invert matrices

linear.invert([[2,0],[0,2]]);
//returns [[.5, 0], [0, .5]]

Nothing more

This library is very small, and can be used both in node and in the browser.

License

MIT