8000 GitHub - plotly/ndarray-sort at 861e6f983fd226ee6f8bab112af0547d7c8b1ec1
[go: up one dir, main page]

Skip to content

plotly/ndarray-sort

< 8000 /div>

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ndarray-sort

Sorts ndarrays in place using a dual pivot quick sort.

Example

var ndarray = require("ndarray")
var ndsort = require("ndarray-sort")

Install

npm install ndarr
6352
ay-sort

API

require("ndarray-sort")(array)

Sorts the given array along the first axis in lexicographic order. The sorting is done in place.

  • array is an ndarray

Credits

JavaScript implementation (c) 2013 Mikola Lysenko. MIT License

Based on Dart's dual pivot quick sort implementation by Ola Martin Bini and Michael Haubenwallner. For more information see lib/dart/AUTHORS and lib/dart/LICENSE .

About

Sorts ndarrays in place

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 70.0%
  • Dart 30.0%
0