0.0.12 • Published 6 years ago

linalg.js v0.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

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
	});