ndarray-unpack
Converts an ndarray into an array-of-native-arrays. (Same format used by numeric.js). Like all ndarray modules this works both in node.js and in the browser.
Example
//Create an ndarray and set a valuevar x = 55x //Convert ndarray into array-of-arraysconsole
Install
npm install ndarray-unpack
require("ndarray-unpack")(array)
Converts array
into an array-of-arrays style array.
array
is an ndarray
Returns An array-of-arrays having the same contents as array
Credits
(c) 2013 Mikola Lysenko. MIT License