matrixy

    1.1.1 • Public • Published

    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)
    {MatrixyArrays} = require 'matrixy'
     
    # Arrays API 
    {add} = Arrays
    fours = [[44]]
    fives = [[55]]
     
    result = add foursfives
     
    # Matrixy API 
    {createMatrixplus} = Matrixy
    fours = createMatrix [[44]]
    fives = createMatrix [[55]]
     
    result = fours plus fives

    API Docs are in the wiki.

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

    Install

    npm i matrixy

    DownloadsWeekly Downloads

    4

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • thomwright