ferray-stride-tricks
Low-level stride manipulation for the ferray scientific computing library.
What's in this crate
sliding_window_view— create overlapping window views without copyingas_strided— construct array views with arbitrary strides and shapes- Overlap detection for safe view construction
Implements numpy.lib.stride_tricks for Rust.
Usage
use sliding_window_view;
use *;
let a = from_vec?;
let windows = sliding_window_view?; // [[1,2,3], [2,3,4], [3,4,5]]
This crate is re-exported through the main ferray crate with the stride-tricks feature.
License
MIT OR Apache-2.0