Skip to content

bluemathsoft/bm-linalg

Repository files navigation

@bluemath/linalg

Linear Algebra submodule of BlueMath library

NPM packageDocsTestsInteractive Shell

  • Implemented on top of LAPACK library, compiled to Javascript using Emscripten.
  • Solving of linear equation systems (LU decomposition, Least Square)
  • Matrix decomposition operations (SVD, Cholesky, QR)
  • Standard matrix properties (Rank, Determinant, Inverse)

Usage

npm install @bluemath/linalg
import {det} from '@bluemath/linalg'
import {arr} from '@bluemath/common'

let A = arr([
    [3,4,5],
    [0,3,4],
    [1,3,5]
]);
console.log('Determinant',det(A));

Alternatively,

npm install bluemath
import {arr,linalg} from 'bluemath'

let A = arr([
    [3,4,5],
    [0,3,4],
    [1,3,5]
]);
console.log('Determinant',linalg.det(A));

About

Linear Algebra in TypeScript

Resources

License

Stars

4 stars

Watchers

3 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors