Skip to content

ThomWright/matrixy

Repository files navigation

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.

About

A CoffeeScript matrix library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •