kn0sys_ndarray

Crates.iokn0sys_ndarray
lib.rskn0sys_ndarray
version0.17.1
sourcesrc
created_at2025-02-04 05:39:04.033233+00
updated_at2025-02-10 10:46:35.650679+00
descriptionAn n-dimensional array for general elements and for numerics. Lightweight array views and slicing; views support chunking and splitting.
homepage
repositoryhttps://github.com/kn0sys/ndarray
max_upload_size
id1541587
size1,398,411
n12n (kn0sys)

documentation

https://docs.rs/kn0sys-ndarray/

README

ndarray implements an n-dimensional container for general elements and for numerics.

In n-dimensional we include for example 1-dimensional rows or columns, 2-dimensional matrices, and higher dimensional arrays. If the array has n dimensions, then an element in the array is accessed by using that many indices. Each dimension is also called an axis.

Highlights

  • Generic n-dimensional array
  • Slicing, also with arbitrary step size, and negative indices to mean elements from the end of the axis.
  • Views and subviews of arrays; iterators that yield subviews.
  • Higher order operations and arithmetic are performant
  • Array views can be used to slice and mutate any [T] data using ArrayView::from and ArrayViewMut::from.
  • Zip for lock step function application across two or more arrays or other item producers (NdProducer trait).
Commit count: 0

cargo fmt