rust-ndarray / ndarray

ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
https://docs.rs/ndarray/
Apache License 2.0
3.59k stars 306 forks source link

Different backends? #321

Open SoniEx2 opened 7 years ago

SoniEx2 commented 7 years ago

I need some Z-order-curve-based grids, some linear grids, etc, and I need them all to be usable in my thing through things like MyThing<ZOrderGrid<T>> and so on. This is so I can choose the optimal implementation for my use-case.

bluss commented 7 years ago

Needs big generalization before it can be possible. The crate currently abstracts over all data that can be addressed using the stride per axis indexing scheme, and not more.