mdarray
v0.1.3
Published
Multi Dimensional arrays for javascript.
Downloads
1
Readme
MdArray
MdArray
A Multi Dimensional array implementation for javascript.
Features
- Elementwise operations, eg. X.mul(Y);
- Dot product, eg. X.dot(Y);
- Operations across dimensions, eg. X.std(1) for std deviation of columns
- Assignment to slices - eg. X.slice(["1:", "0"]).assign(val);
Getting Started
Install the module with: npm install MdArray
var MdArray = require('MdArray');
var a = MdArrayjs.([0, 1, 2, 3], 2, 2); // Create 2 X 2 array.
Documentation
See: MdArray jsdoc
Examples
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Release History
(Nothing yet)
License
Copyright (c) 2016 Michael Webster
Licensed under the MIT license.
Javascript class for multi-dimensional arrays.