Crates.io | nsys-mat |
lib.rs | nsys-mat |
version | 0.5.4 |
created_at | 2025-07-13 05:08:52.953045+00 |
updated_at | 2025-07-13 05:08:52.953045+00 |
description | Dynamically sized 2d storage with rectangular iterators and in-place resizing |
homepage | |
repository | https://gitlab.com/spearman/mat-rs |
max_upload_size | |
id | 1749993 |
size | 38,990 |
mat
dynamic, 2d, Vec-backed storage with rectangular iterators and in-place resizing
Interface and low-level code stolen from vec2d
.
This library was created to use as a rectangular 'window' container for curses-like GUI (or TUI) in graphical applications, after considering the currently available options on crates.io:
vec_2d::Vec2d<T>
, vec2d::Vec2D<T>
-- incomplete implementationsndarray::Array <T, (Ix,Ix)>
-- no in-place resizing, more complex
underlying representationnalgebra::DMatrix<T>
-- no rectangular slicing, no in-place
resizingvec_2d
and vec2d
provide only incomplete "generic"
implementations, while ndarray
and nalgebra
are more geared
towards numerical applications, though they offer more functionality,
neither fits the exact needs of this library.