linalg.js

0.0.12 • Public • Published

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

Package Sidebar

Install

npm i linalg.js

Weekly Downloads

9

Version

0.0.12

License

ISC

Unpacked Size

6.49 kB

Total Files

7

Last publish

Collaborators

  • alfiegoldson