mmath
v0.0.3
Published
a small library for linear algebra
Downloads
5
Readme
mmath
a tiny linear algebra library
usage
var mmath = require('mmath');
var matrix = new mmath.Matrix([
[1,2,3],
[4,5,6],
[7,8,9]
]);
API:
Matrix#add(sameDimsMatrix)
Matrix#determinant()
Matrix#get(i, j)
Matrix#multiply(otherMatrix)
Matrix#scalar(number)
Matrix#tranpose()
Matrix#inverse()
Matrix#adjugate()
Matrix#cofactor(i, j)