1.0.0 • Published 6 years ago

matrix-class v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

matrix.js

A matrix class implementation with basic algebra functionalities

Usage

import Matrix from 'matrix'

const matrix2By3Builder = Matrix.matrix(2,3)
const 2By3MatrixWith6Values = matrix2By3Builder(1, 2, 3, 4, 5, 6)
// => |1, 2, 3|
//    |4, 5, 6|

const 3by3IdentityMatrix = Matrix.identity(3)
// => |1, 0, 0|
//    |0, 1, 0|
//    |0, 0, 1|

see https://github.com/tunylund/matrix-class/lib/matrix.js for detailed documentation of Matrix features

1.0.0

6 years ago