Have ideas to improve npm?Join in the discussion! »

matrix-create

1.0.0 • Public • Published

matrix-create Build Status

Returns a flattened row x column matrix

Install

$ npm install --save matrix-create

Usage

var mCreate = require('matrix-create')
 
var matrix4x4 = mCreate()
 
console.log(matrix4x4)
/*
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] // 16 zeros
*/

License

(c) 2015 Chinedu Francis Nwafili. MIT License

Install

npm i matrix-create

DownloadsWeekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar