A CoffeeScript matrix library
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
imgs
src
test
.gitignore
.npmignore
.travis.yml
Cakefile
LICENSE
README.md
coffeelint.json
npm-shrinkwrap.json
package.json

README.md

Build Status npm Dependency Status devDependency Status

A general-purpose matrix library for NodeJS capable of LU-decomposition and solving equations of the form Ax=b.

Quick Intro

There are two main APIs in Matrixy:

  • arrays - works with 2D arrays
  • matrixy - works with Matrices (wrapped 2D arrays)
{Matrixy, Arrays} = require 'matrixy'

# Arrays API
{add} = Arrays
fours = [[4, 4]]
fives = [[5, 5]]

result = add fours, fives

# Matrixy API
{createMatrix, plus} = Matrixy
fours = createMatrix [[4, 4]]
fives = createMatrix [[5, 5]]

result = fours plus fives

API Docs are in the wiki.

Background blog post on the ideas behind the design of the matrixy API.