Wavelet Matrix for Rust language

It provides the various analytics on very large sequence of unsigned integers in constant time.

Usage

After adding to Cargo.toml, add this line to lib.rs or main.rs.

rust extern crate wavelet_matrix;

See crate document top for further examples.

Features

Given an unsigned integer sequence T, it provides the following queries.

Basic operations

Counting

Counting is performed in O(1).

Searching

Searching is performed in O(1) per a next index.

Ranking

Ranking is performed in roughly O(k), where k is the number of (value, count) tuples.

Classical WaveletMatrix operations

Releases

v0.4.3

v0.4.2

v0.4.1

v0.4.0

v0.3.0

TODO

Credits