Linear Algebra submodule of BlueMath library
•
Docs
•
Tests
•
Interactive 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)
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));