IndxVec

Crates.io GitHub last commit (branch)

Usage

Insert into your Cargo.toml file [dependencies] section:

rust indxvec = "^0.1"

and import into your source file(s) any structs, functions and/or traits that you want:

rust use indxvec::{....};

Introduction

Indxvec was spun off rstats, as it holds sufficient interest in its own right. The general tools included here are efficient ranking, sorting, merging, searching and indices manipulations.

Implementation

Indxvec is a lean minimalistic library that only depends on anyhow (for its simple error handling).

Documentation

Follow the documentation link. Then select a trait of interest to see the skeletal comments on the prototype function declarations in lib.rs. To see more detailed comments, plus some examples from the implementation files, scroll to the bottom of the trait and unclick [+] to the left of the implementations of the trait.

To see tests, consult tests.rs. To run the tests, use single thread. It will be slower but will produce the results in the right order:

rust cargo test --release -- --test-threads=1 --nocapture --color always

Macro, structs and functions

Traits

Index

The functions of this trait are implemented for vectors of subscripts, i.e. &[usize].

Recent Releases