Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Matrix calculations for Node and the browser in pure CoffeeScript.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 bench
Octocat-spinner-32 scripts
Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .npmignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 beans.json
Octocat-spinner-32 package.json

Matrices for Node

The matrices package provides some typical matrix calculations, with more added as deemed necessary. Operations include addition, negation, product, transposition, augmentation, slicing, equality with precision, and finding the norm, determinant, and inverse.

To install matrices, do this:

$ npm install matrices


This code uses the Beans toolset to build Node and browser JavaScript, as well as documentation. The easiset way to work on the source is by installing dependencies and running Beans from there:

$ npm install
$ npm run-script build

Otherwise you can use the CoffeeScript compiler to build things in a way you like, e.g. by running:

$ coffee -c -o lib src


Another way to get annotated source code is to clone this repository and use Docco with Beans:

$ npm run-script docs

Or standalone:

$ docco src/*.coffee src/**/*.coffee

A docs directory should be created in the working directory root.

Something went wrong with that request. Please try again.