| Crates.io | flat_matrix |
| lib.rs | flat_matrix |
| version | 0.1.2 |
| created_at | 2025-02-16 19:49:33.01926+00 |
| updated_at | 2025-02-21 04:26:41.454252+00 |
| description | a crate that adds flat matrices |
| homepage | |
| repository | https://github.com/chickencuber/flat_matrix |
| max_upload_size | |
| id | 1558078 |
| size | 3,889 |
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
}