ndarray-tops

0.1.0 • Public • Published

ndarray-tops

Returns the highest points of a 3d ndarray as a 2d ndarray.

example

var tops = require('ndarray-tops')
var ndarray = require('ndarray')
var size = 32
 
var terrain = ndarray(new Int8Array(size * size * size), [size, size, size])
 
var peaks = tops(terrain)

install

With npm do:

npm install ndarray-tops

Use browserify to require('ndarray-tops').

release history

  • 0.1.0 - initial release

license

Copyright (c) 2013 Kyle Robinson Young
Licensed under the MIT license.

/ndarray-tops/

    Package Sidebar

    Install

    npm i ndarray-tops

    Weekly Downloads

    1

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • shama