flat_matrix 0.1.2

a crate that adds flat matrices
Documentation
  • Coverage
  • 0%
    0 out of 12 items documented0 out of 8 items with examples
  • Size
  • Source code size: 3.88 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 299.48 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • chickencuber/flat_matrix
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • chickencuber

Flat Matrix

this is a library that adds flat matrices

use FlatMatrix::FlatMatrix;

fn main() {
    let matrix: FlatMatrix<bool> = FlatMatrix::new(10, 20, false);
    println!("{}", matrix.get(4, 4).unwrap()); //false
    matrix.set(4, 4, true);
    println!("{}", matrix.get(4, 4).unwrap()); //true
}