sparse-vector-rs 1.0.0

A sparse vector: a mapping from integer index to arbitrary value that stores only the positions differing from a default value.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! The crate documentation lives in `README.md`, so the two cannot drift apart:
//! every ```rust block below is compiled and run by `cargo test`.
#![doc = include_str!("../README.md")]
#![forbid(unsafe_code)]
#![deny(missing_docs)]

mod element;
mod vector;

pub use element::Element;
pub use vector::{Iter, SparseVector};