linalg.js
v0.0.12
Published
Linear Algebra Module
Downloads
5
Maintainers
Readme
Linear Algebra Module
Warning : This module is in development !
Beware of bugs and incomplete stuff ¯\(ツ)/¯
Installation
Install via npm:
$ npm install --save linalg
Import the module into your script:
const linalg = require('linalg');
Objects
Vector
var vector = new linalg.Vector(...args); //new linalg.Vector(1, 2, 3);
Matrix
var matrix = new linalg.Matrix(width, height, defaultValue);
var matrix = new linalg.Matrix(width, height, function(i, j) {
return foo(i, j); Comprehension
});