Some extra functionality for fixed-length vectors.

Koz Ross 499f34beb1 Today's the day %!s(int64=6) %!d(string=hai) anos
src c6717c61f7 Documentation fixes, add radix sort %!s(int64=6) %!d(string=hai) anos
.gitignore a1d53322ea Use cabal.project.local %!s(int64=6) %!d(string=hai) anos
.nvimrc e5e05c7638 Refactor partial sorts into their own modules, change partial sorting on immutable vectors to return unsplit copies, more documentation %!s(int64=6) %!d(string=hai) anos
CHANGELOG.md 499f34beb1 Today's the day %!s(int64=6) %!d(string=hai) anos
LICENSE 24de37b67b Relicense to BSD3 (just wrappers anyway) %!s(int64=6) %!d(string=hai) anos
README.md 710f9a89f1 Note the inclusion of sampling stuff in README %!s(int64=6) %!d(string=hai) anos
Setup.hs 2c99cafd43 Initial draft %!s(int64=6) %!d(string=hai) anos
TODO.md c6717c61f7 Documentation fixes, add radix sort %!s(int64=6) %!d(string=hai) anos
cabal.project 1b5fbb918b Argh simplifier %!s(int64=6) %!d(string=hai) anos
vector-sized-extra.cabal ae6f7b4ac4 Add sampling algos %!s(int64=6) %!d(string=hai) anos

README.md

vector-sized-extra

Contains some wrappers and extra functionality of use to those who use vector-sized. In particular:

  • Wraps multiple sorting functions from vector-algorithms
  • Provides versions of sorts that return a sorted copy, rather than sorting in-place
  • Provides an in-place, as well as copying, Fisher-Yates shuffle for fixed-length vectors
  • Implementations of Algorithm R and Chao's algorithm for random and random weighted sampling respectively

For more details, see the Haddock documentation.

License

This project is licensed under the 3-clause BSD license (SPDX code BSD-3-Clause). For the license text, please see the LICENSE file.