Skip to content
Matrix calculations for Node and the browser in pure CoffeeScript.
Find file
Latest commit 9ae0de9 dimituri Added test for possible server-side failures
This should catch Node file system API changes
Failed to load latest commit information.
bench Renamed generic matrix benchmark
src Added numeric constant freezing on supporting platforms
test Added test for possible server-side failures
LICENSE Initial commit
beans.json Initial implementation of fast matrix

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.