rendarray 0.2.0-alpha.3

An N-dimensional array for elements of arbitrary type. Lightweight array views and slicing. The Array is copy-on-write and similar to numpy’s ndarray.
rendarray-0.2.0-alpha.3 has been yanked.

The ndarray crate provides an N-dimensional container similar to numpy's ndarray.

  • ArrayBase The n-dimensional array type itself, parameterized by data storage.
  • Array An array where the data is reference counted and copy on write, it can act as both an owner as the data as well as a lightweight view.
  • OwnedArray An array where the data is owned uniquely.
  • ArrayView A lightweight array view.
  • ArrayViewMut A lightweight read-write array view.

Crate Summary and Status

  • Implements the numpy striding and broadcasting scheme for n-dimensional arrays
  • Focus is on being a generic n-dimensional container
  • Due to that arithmetic operations and matrix multiplication etc are not very well optimized, this is not a serious crate for numerics or linear algebra.
  • There is no integration with linear algebra packages (at least not yet).

Crate Feature Flags

  • assign_ops
  • Optional, requires nightly
  • Enables the compound assignment operators
  • rustc-serialize
  • Optional, stable
  • Enables serialization support