nsys-mat

Crates.ionsys-mat
lib.rsnsys-mat
version0.5.4
created_at2025-07-13 05:08:52.953045+00
updated_at2025-07-13 05:08:52.953045+00
descriptionDynamically sized 2d storage with rectangular iterators and in-place resizing
homepage
repositoryhttps://gitlab.com/spearman/mat-rs
max_upload_size
id1749993
size38,990
Shane Pearman (spearman)

documentation

README

mat

dynamic, 2d, Vec-backed storage with rectangular iterators and in-place resizing

Interface and low-level code stolen from vec2d.

Why this library?

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 implementations
  • ndarray::Array <T, (Ix,Ix)> -- no in-place resizing, more complex underlying representation
  • nalgebra::DMatrix<T> -- no rectangular slicing, no in-place resizing

vec_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.

Commit count: 0

cargo fmt