nsys-mat 0.5.4

Dynamically sized 2d storage with rectangular iterators and in-place resizing
Documentation
  • Coverage
  • 36.62%
    26 out of 71 items documented5 out of 60 items with examples
  • Size
  • Source code size: 38.52 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 7.87 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • spearman/mat-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • spearman

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.