ndarray 0.9.1

An N-dimensional array for general elements and for numerics. Lightweight array views and slicing; views support chunking and splitting.
Documentation
1
2
3
4
5
6
7
8
9

/// Indexing macro for Dim<[usize; N]> this
/// gets the index at `$i` in the underlying array
macro_rules! get {
    ($dim:expr, $i:expr) => { (*$dim.ix())[$i] }
}
macro_rules! getm {
    ($dim:expr, $i:expr) => { (*$dim.ixm())[$i] }
}