0.0.17 • Published 3 years ago

@extra-arraysort/insertion-sort-update.min v0.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Arranges values in an order. :running: :package: :ledger:

This is part of package extra-arraysort.

This is browserified, minified version of @extra-arraysort/insertion-sort-update. It is exported as global variable arraysort_insertionSort$. CDN: unpkg, jsDelivr.

arraysort.insertionSort$(x, y, fc, fs);
// x:  an array (updated)
// y:  pair array [x]
// fc: compare function (a, b)
// fs: swap function (x, i, j)
// --> x