Implementation of numpy-inspired multidimensional, generic arrays. \ Documentation of the crate is available here
toml
[dependencies]
arr-rs = "0.2.0"
```rust // import the crate use arr_rs::prelude::*;
// create an array: (4 elements, 2 dimensions)
let arr = Array::
// create same array using macro:
let arr: Array::
// create random array with the same shape:
let arr = Array::
// array supports display and pretty display
let arr: Array
// perform some chained operations on array: let res = arr .map(|item| item * 2) .filter(|item| item % 3 == 0) .ravel() .slice(0 .. 2); ```
Benchmark results can be found here
This project is licensed under either of the following licenses, at your option: