CSV Binary Matrix format Rust package
Quick usage
use BinCSV;
// Generate the following binary matrix:
// 0 0 0
// 0 0 1
// 0 1 1
// 1 1 1
let bin_csv =
from_coordinates;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
bin_csv.write_to_file.unwrap;
assert_eq!;
Recent Changes
See CHANGELOG.md
.
License
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.
References
This package is based on this paper, where the authors' method is adapted for binary matrices:
Farzaneh, Aiyoub, Hossein Kheırı, et Mehdi Abbaspour Shahmersı. « AN EFFICIENT STORAGE FORMAT FOR LARGE SPARSE MATRICES ». Communications Faculty of Sciences University of Ankara Series A1 Mathematics and Statistics 58, nᵒ 2 (1 août 2009): 1‑10. https://doi.org/10.1501/Commua1_0000000648.