matrix-class

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i matrix-class

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

13.1 kB

Total Files

6

Last publish

Collaborators

  • tunylund