Multi-Dim
An npm package for scientific computing with JavaScript. It contains primarily:
- a powerful N-dimensional array object
Installation
npm install multi-dim
const ndim = ;
Basics
Array Creation
> const a = ndim;> a> const b = ndim;> b
Example:
> a = ndim; > aheadershape 3 5
Indexing, Slicing, and Striding
-1, or ':', or any number less than 0
> const a = ndim;> a1 > const b = ndim;> b> b